File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff 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
6969tsEnableAutoTypes : false
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments