Skip to content

Commit 5c301c1

Browse files
add tests
1 parent c2390a4 commit 5c301c1

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
],
3434
"scripts": {
3535
"build": "rslib build",
36-
"e2e": "pnpm build && cd examples/default-template && pnpm test:e2e && cd ../custom-node-server && pnpm test:e2e",
36+
"e2e": "pnpm build && cd examples/default-template && pnpm test:e2e && npx killport 3000 3001 && cd ../custom-node-server && pnpm test:e2e",
3737
"dev": "rslib build --watch",
3838
"test": "vitest run",
3939
"test:watch": "vitest watch",
@@ -79,6 +79,7 @@
7979
"@types/react": "^19.0.1",
8080
"@types/react-dom": "^19.0.1",
8181
"jiti": "^2.4.1",
82+
"killport": "^1.0.2",
8283
"playwright": "^1.50.1",
8384
"prettier": "3.4.2",
8485
"react": "^19.0.0",

pnpm-lock.yaml

Lines changed: 24 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)