We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ignore:
1 parent 8d3f201 commit 875eb77Copy full SHA for 875eb77
1 file changed
scripts/src/commands/test.js
@@ -53,6 +53,13 @@ export class TestCommand extends Command {
53
return await runScript("jest", "--passWithNoTests", ...this.args);
54
}
55
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
+
63
const tests =
64
this.args.length > 0 ? this.args : fs.globSync("test/**/*.test.ts");
65
return useTsx(manifest)
0 commit comments