nodejs-testing icon indicating copy to clipboard operation
nodejs-testing copied to clipboard

Extension ignores non-only tests from a suite with only tests in node v24

Open ILikeRubberDuckies opened this issue 3 months ago • 1 comments

import { suite, it } from "node:test";

suite("Tee suite", () => {
    it("Tee", () => console.log("Tee"));

    it("Only tee", { only: true }, () => console.log("Only Tee"));
})

Running suite in 22: >Tee >Only Tee

In 24.5: >Only Tee

Running with node --test works as expected in 24

ILikeRubberDuckies avatar Aug 26 '25 09:08 ILikeRubberDuckies