Skip to content

Commit ade7283

Browse files
authored
fix: npm test should run unit tests (#10241)
1 parent 64dd4c8 commit ade7283

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.changeset/red-dolls-shout.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'create-svelte': patch
3+
---
4+
5+
fix: npm test should run unit tests
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"devDependencies": {
3+
"@playwright/test": "^1.28.1",
4+
"vitest": "^0.32.2"
5+
},
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"vitest": "^0.32.2"
44
},
55
"scripts": {
6-
"test:unit": "vitest"
6+
"test": "vitest"
77
}
88
}

0 commit comments

Comments
 (0)