We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 259532e commit f42af9aCopy full SHA for f42af9a
2 files changed
package.json
@@ -39,7 +39,7 @@
39
"scripts": {
40
"build": "tsup",
41
"dev": "tsup --watch --sourcemap",
42
- "test": "vitest run",
+ "test": "vitest run --project Chromium && vitest run --project Firefox",
43
"test:watch": "vitest --project Chromium --browser.provider preview --browser.headless=false",
44
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
45
"typecheck": "tsc --noEmit"
vitest.config.ts
@@ -7,10 +7,6 @@ export default defineConfig({
7
test: {
8
reporters: "verbose",
9
10
- // browser instances are running parallel, so they take 200% of the CPU count. Lower the amount to reduce resource usage
11
- maxWorkers: 1,
12
- minWorkers: 1,
13
-
14
browser: {
15
enabled: true,
16
provider: "playwright",
0 commit comments