Skip to content

Commit 9805499

Browse files
fix tests after upgrade
1 parent 524a925 commit 9805499

3 files changed

Lines changed: 2 additions & 1 deletion

File tree

bun.lockb

1.18 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"eslint-plugin-prettier": "^5.5.5",
8181
"eslint-plugin-react-hooks": "^7.0.1",
8282
"eslint-plugin-react-refresh": "^0.5.0",
83+
"happy-dom": "^20.6.1",
8384
"jsdom": "^28.0.0",
8485
"msw": "^2.12.8",
8586
"postcss": "^8.4.49",

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default defineConfig({
1313
// @ts-expect-error
1414
test: {
1515
globals: true,
16-
environment: 'jsdom',
16+
environment: 'happy-dom',
1717
css: true,
1818
setupFiles: [path.resolve(__dirname, './src/setupTests.ts')],
1919
},

0 commit comments

Comments
 (0)