Skip to content

Commit

Permalink
fix e2e script
Browse files Browse the repository at this point in the history
  • Loading branch information
alan2207 committed Jun 6, 2024
1 parent a841bcd commit 46f7577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "tsc && vite build --base=/",
"preview": "vite preview",
"test": "vitest",
"start-e2e-env": "pm2 start \"yarn run-mock-server\" --name server && yarn build && pm2 start \"yarn preview\" --name client",
"start-e2e-env": "pm2 start \"yarn run-mock-server\" --name server && pm2 start \"yarn dev\" --name client",
"stop-e2e-env": "pm2 stop server && pm2 stop client",
"test-e2e": "yarn start-e2e-env && yarn playwright test",
"prepare": "husky",
Expand Down

0 comments on commit 46f7577

Please sign in to comment.