Skip to content

Commit

Permalink
chore: run tests with vitest browser mode (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundhung authored Jan 15, 2025
1 parent b0fb91d commit 53990de
Show file tree
Hide file tree
Showing 6 changed files with 591 additions and 257 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ jobs:
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps chromium
- name: Run Vitest tests
run: pnpm exec vitest
- name: Run Typecheck
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"@vitest/browser": "^2.1.8",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
Expand All @@ -37,7 +38,7 @@
"pkg-pr-new": "^0.0.20",
"prettier": "^3.2.5",
"typescript": "^5.2.2",
"vitest": "^1.6.0",
"vitest": "^2.1.8",
"yup": "^0.32.11",
"zod": "3.21.4"
},
Expand Down
Loading

0 comments on commit 53990de

Please sign in to comment.