We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64dd4c8 commit ade7283Copy full SHA for ade7283
.changeset/red-dolls-shout.md
@@ -0,0 +1,5 @@
1
+---
2
+'create-svelte': patch
3
4
+
5
+fix: npm test should run unit tests
packages/create-svelte/shared/+playwright+vitest/package.json
@@ -0,0 +1,11 @@
+{
+ "devDependencies": {
+ "@playwright/test": "^1.28.1",
+ "vitest": "^0.32.2"
+ },
6
+ "scripts": {
7
+ "test:integration": "playwright test",
8
+ "test:unit": "vitest",
9
+ "test": "npm run test:integration && npm run test:unit"
10
+ }
11
+}
packages/create-svelte/shared/+vitest/package.json
@@ -3,6 +3,6 @@
"vitest": "^0.32.2"
},
"scripts": {
- "test:unit": "vitest"
+ "test": "vitest"
}
0 commit comments