Skip to content

semver sort does not work #11

Description

@flanec

also test/spec/version.spec.js:6 version number strings: › #6 test case is not executed with npm test, since the version.js file is ignored by jest.

to reproduce the the issue:

  • rename file, mv ./test/spec/version.spec.ts ./test/spec/1test.spec.ts
  • run tests, npm test

it will fail with error:

  ● version number strings:  › #6

    expect(received).toEqual(expected)

    Expected value to equal:
      ["1.9.0", "1.10.0", "1.11.0"]
    Received:
      ["1.10.0", "1.11.0", "1.9.0"]

    Difference:

    - Expected
    + Received

      Array [
    -   "1.9.0",
        "1.10.0",
        "1.11.0",
    +   "1.9.0",
      ]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions