Skip to content

Commit 93e2968

Browse files
committed
chore(test): replace happy-dom with node env
1 parent 5cbe2c7 commit 93e2968

3 files changed

Lines changed: 1 addition & 17 deletions

File tree

bun.lock

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"@capacitor/docgen": "^0.2.2",
6161
"@types/bun": "latest",
6262
"@vitest/coverage-v8": "^4.1.2",
63-
"happy-dom": "^20.9.0",
6463
"typescript": "^5.9.3",
6564
"vite-plus": "0.1.20"
6665
},

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default defineConfig({
3232
},
3333
test: {
3434
clearMocks: true,
35-
environment: 'happy-dom',
35+
environment: 'node',
3636
include: ['**/*.test.ts', '**/*.test.tsx'],
3737
coverage: {
3838
exclude: ['mocks/**', 'src/helpers.ts'],

0 commit comments

Comments
 (0)