Add --no-isolate flags

This commit is contained in:
Michael Li 2025-01-10 15:23:40 -05:00 committed by Sirz Benjie
parent 4c9e9a4adf
commit be5cc49fff
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E
2 changed files with 3 additions and 3 deletions

View File

@ -29,4 +29,4 @@ jobs:
- name: Install Node.js dependencies
run: npm ci
- name: Run tests
run: npx vitest --project ${{ inputs.project }} --shard=${{ inputs.shard }}/${{ inputs.totalShards }} ${{ !runner.debug && '--silent' || '' }}
run: npx vitest --project ${{ inputs.project }} --shard=${{ inputs.shard }}/${{ inputs.totalShards }} --no-isolate ${{ !runner.debug && '--silent' || '' }}

View File

@ -9,10 +9,10 @@
"build": "vite build",
"build:beta": "vite build --mode beta",
"preview": "vite preview",
"test": "vitest run --project pre && vitest run --project main",
"test": "vitest run --project pre && vitest run --project main --no-isolate",
"test:cov": "vitest run --project pre && vitest run --project main --coverage",
"test:watch": "vitest run --project pre && vitest watch --project main --coverage",
"test:silent": "vitest run --project pre && vitest run --project main --silent",
"test:silent": "vitest run --project pre && vitest run --project main --silent --no-isolate",
"typecheck": "tsc --noEmit",
"eslint": "eslint --fix .",
"eslint-ci": "eslint .",