We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test
package.json
yarn bin vitest
1 parent f5e2e23 commit 22a79b1Copy full SHA for 22a79b1
package.json
@@ -28,8 +28,8 @@
28
"lint": "eslint src test",
29
"prepack": "yarn build",
30
"bench": "vitest --run bench --mode production",
31
- "test": "node --expose-gc ./node_modules/vitest/dist/cli-wrapper.js --run --typecheck",
32
- "test:watch": "node --expose-gc ./node_modules/vitest/dist/cli-wrapper.js --watch",
+ "test": "node --expose-gc $(yarn bin vitest) --run --typecheck",
+ "test:watch": "node --expose-gc $(yarn bin vitest) --watch",
33
"test:cov": "vitest run --coverage",
34
"type-check": "vitest --run --typecheck.only",
35
"type-check:trace": "vitest --run --typecheck.only && tsc --noEmit -p tsconfig.test.json --generateTrace trace && npx @typescript/analyze-trace trace && rimraf trace",
0 commit comments