Skip to content

Commit 8943a55

Browse files
committed
Update test command in package.json to use yarn bin vitest
1 parent 9dc1ecb commit 8943a55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"lint": "eslint src test",
2929
"prepack": "yarn build",
3030
"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",
31+
"test": "node --expose-gc $(yarn bin vitest) --run --typecheck",
32+
"test:watch": "node --expose-gc $(yarn bin vitest) --watch",
3333
"test:cov": "vitest run --coverage",
3434
"type-check": "vitest --run --typecheck.only",
3535
"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

Comments
 (0)