Skip to content

Commit

Permalink
Run playwright tests
Browse files Browse the repository at this point in the history
  • Loading branch information
loganvolkers committed May 13, 2024
1 parent 93e4a1e commit ca51d96
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 3 deletions.
177 changes: 177 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@
},
"scripts": {
"start": "dts watch",
"dev:tests": "vitest",
"build": "dts build",
"test": "vitest run",
"test:watch": "vitest",
"test": "run-p test:*",
"test:vitest": "vitest run",
"test:playwright": "playwright test",
"lint": "eslint src",
"size": "size-limit",
"analyze": "size-limit --why",
Expand Down Expand Up @@ -106,6 +108,7 @@
"eslint-plugin-react": "^7.34.1",
"globals": "^15.2.0",
"jest-environment-jsdom": "^29.1.0",
"npm-run-all2": "^6.1.2",
"playwright": "^1.44.0",
"react": "*",
"react-dom": "^16.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
exclude: ['node_modules'],
exclude: ['node_modules', 'end2end'],
globals: true,
environment: 'jsdom',
},
Expand Down

0 comments on commit ca51d96

Please sign in to comment.