Skip to content

Commit 875eb77

Browse files
committed
fixup! feat(yarn-plugin-ignore): Yarn plugin implementing the ignore: protocol
1 parent 8d3f201 commit 875eb77

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

scripts/src/commands/test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ export class TestCommand extends Command {
5353
return await runScript("jest", "--passWithNoTests", ...this.args);
5454
}
5555

56+
const coverage = this.args.indexOf("--coverage");
57+
if (coverage >= 0) {
58+
// TODO: Code coverage is still experimental as of Node v25.9.0
59+
// https://nodejs.org/api/cli.html#experimental-test-coverage
60+
this.args[coverage] = "--experimental-test-coverage";
61+
}
62+
5663
const tests =
5764
this.args.length > 0 ? this.args : fs.globSync("test/**/*.test.ts");
5865
return useTsx(manifest)

0 commit comments

Comments
 (0)