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 7a3f5df commit f6ebf18
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 351 deletions.
2 changes: 1 addition & 1 deletion packages/react-timerange-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,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-timerange-picker/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',
server: {
deps: {
inline: ['vitest-canvas-mock'],
Expand Down
Loading

0 comments on commit f6ebf18

Please sign in to comment.