Skip to content

Commit

Permalink
test(harper.js): run tests on both Firefox and Chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-potter committed Dec 31, 2024
1 parent 8be1d0d commit b9486a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/harper.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"test": "vitest run"
"test": "vitest run --browser firefox && vitest run --browser chromium"
},
"devDependencies": {
"wasm": "link:../../harper-wasm/pkg",
Expand Down
2 changes: 1 addition & 1 deletion packages/harper.js/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default defineConfig({
browser: {
provider: 'playwright',
enabled: true,
name: 'chromium'
headless: true
}
},
assetsInclude: ['**/*.wasm']
Expand Down

0 comments on commit b9486a5

Please sign in to comment.