Skip to content

Commit

Permalink
fix: npm test should run unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jun 23, 2023
1 parent eeeef51 commit 942aa1d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/red-dolls-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

fix: npm test should run unit tests
11 changes: 11 additions & 0 deletions packages/create-svelte/shared/+playwright+vitest/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"devDependencies": {
"@playwright/test": "^1.28.1",
"vitest": "^0.32.2"
},
"scripts": {
"test:integration": "playwright test",
"test:unit": "vitest",
"test": "npm run test:integration && npm run test:unit"
}
}
4 changes: 2 additions & 2 deletions packages/create-svelte/shared/+vitest/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"devDependencies": {
"vitest": "^0.25.3"
"vitest": "^0.32.2"
},
"scripts": {
"test:unit": "vitest"
"test": "vitest"
}
}

0 comments on commit 942aa1d

Please sign in to comment.