Skip to content

Commit ccc2bbc

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

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ plugins:
6262
- path: .yarn/plugins/@yarnpkg/plugin-compat.cjs
6363
spec: "@yarnpkg/plugin-compat"
6464
- path: incubator/yarn-plugin-dynamic-extensions/index.js
65-
- path: incubator/yarn-plugin-ignore/dist/yarn-plugin-ignore.cjs
6665
- path: incubator/yarn-plugin-external-workspaces/dist/external-workspaces.cjs
66+
- path: incubator/yarn-plugin-ignore/dist/yarn-plugin-ignore.cjs
6767
- path: incubator/yarn-plugin-install-to/dist/yarn-plugin-install-to.cjs
6868

6969
tsEnableAutoTypes: false

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)