Skip to content

Commit a671617

Browse files
committed
Update testing scripts
1 parent cf93f21 commit a671617

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,11 @@
3737
"build": "vite build",
3838
"preview": "vite preview",
3939
"start": "node cli.cjs",
40-
"test": "playwright test",
40+
"test": "npm run test:unit && npm run test:integration",
4141
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
4242
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
43-
"test:unit": "vitest",
43+
"test:integration": "playwright test",
44+
"test:unit": "vitest run",
4445
"lint": "prettier --plugin-search-dir . --check . && eslint .",
4546
"format": "prettier --plugin-search-dir . --write ."
4647
},

0 commit comments

Comments
 (0)