Skip to content

Commit

Permalink
Run test via vitest workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin committed Jul 18, 2024
1 parent a2c7560 commit 3f11ccf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"purge": "rimraf --glob \"packages/*/node_modules/\" --glob \"core/packages/*/node_modules/\"",
"regen-docs": "pnpm run-all --parallel --aggregate-output --reporter=append-only run regen-docs",
"regen-samples": "pnpm run-all run regen-samples",
"test:ci": "pnpm -r --filter=!./core/ --filter=!./core/** --aggregate-output --reporter=append-only --sequential test:ci",
"test": "vitest run --workspace ./vitest.workspace.fast.ts",
"test:ci": "pnpm test --coverage --reporter=junit --reporter=default",
"test:e2e": "pnpm run-all run test:e2e",
"test": "pnpm run-all run test",
"update-latest-docs": "pnpm run-all run update-latest-docs",
"watch": "tsc --build ./tsconfig.ws.json --watch",
"sync-labels": "tsx ./core/eng/common/scripts/labels/sync-labels.ts --config ./eng/config/labels.ts"
Expand Down
2 changes: 2 additions & 0 deletions vitest.workspace.fast.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Exclude core packages so we can only run test for this repo
export default ["packages/*/vitest.config.ts", "packages/*/vitest.config.mts"];

0 comments on commit 3f11ccf

Please sign in to comment.