Skip to content

Commit

Permalink
Merge pull request #2173 from inertiajs/test-helper-scripts
Browse files Browse the repository at this point in the history
Add helper scripts for running tests
  • Loading branch information
joetannenbaum authored Jan 8, 2025
2 parents febb845 + 53e3243 commit d5ae817
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
"packages/*",
"playgrounds/*"
],
"scripts": {
"test:react": "cd tests && PACKAGE=react npx playwright test",
"test:react:watch": "cd packages/react/test-app && npm run watch",
"test:svelte": "cd tests && PACKAGE=svelte npx playwright test",
"test:svelte:watch": "cd packages/svelte/test-app && npm run watch",
"test:vue": "cd tests && PACKAGE=vue3 npx playwright test",
"test:vue:watch": "cd packages/vue3/test-app && npm run watch"
},
"dependencies": {
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^4.1.0",
Expand Down

0 comments on commit d5ae817

Please sign in to comment.