Skip to content

CI fails on Node.js 21 #752

Closed
Closed

Activity

  1. targos commented on Nov 13, 2023

    @targos
    MemberAuthor

    @nodejs/test_runner Is there a way to execute the test runner with arguments that work in all supported Node.js versions?

  2. targos commented on Nov 26, 2023

    @targos
    MemberAuthor

    @MoLow Do you know of a solution?

  3. MoLow commented on Nov 26, 2023

    @MoLow
    Member

    not a good one.
    I would try changing the command based on the node version,
    we can also run node --test $(find . -name 'test/unit/**.js' | tr '\n' ' ') which will be compatible for all versions

  4. targos commented on Nov 27, 2023

    @targos
    MemberAuthor

    This is unfortunate. Isn't it a big issue for adoption of the test runner by projects that want to support all release lines?

  5. MoLow commented on Nov 27, 2023

    @MoLow
    Member

    It probably is, we should have probably thought about that - although this change was a semver major change, and was necessary since it made it possibe to run typescript tests or tests other then the default pattern

  6. aduh95 commented on Nov 28, 2023

    @aduh95
    Contributor

    I guess we could backport it behind a --experimental-glob-in-test-runner flag or something like that

  7. ljharb commented on Nov 28, 2023

    @ljharb
    SponsorMember

    Major changes for a test runner built into the platform will always cause this problem; the only solution is to never have them, or, not have a test runner that’s built in.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions