Skip to content

Commit

Permalink
Replace JSDom with Happy DOM
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Oct 3, 2023
1 parent 7e436f7 commit 6cf4075
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 351 deletions.
2 changes: 1 addition & 1 deletion packages/react-clock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"cpy-cli": "^5.0.0",
"eslint": "^8.26.0",
"eslint-config-wojtekmaj": "^0.9.0",
"jsdom": "^21.1.0",
"happy-dom": "^12.6.0",
"nodemon": "^3.0.0",
"prettier": "^3.0.0",
"react": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-clock/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: {
environment: 'jsdom',
environment: 'happy-dom',
setupFiles: 'vitest.setup.ts',
watch: false,
},
Expand Down
Loading

0 comments on commit 6cf4075

Please sign in to comment.