Skip to content

Commit

Permalink
Jest fixed jsdom (#837)
Browse files Browse the repository at this point in the history
* Update docs packages

* Replace custom polyfill with jest-fixed-jsdom
  • Loading branch information
mbraak authored Oct 10, 2024
1 parent 27056bd commit 2e6c40b
Show file tree
Hide file tree
Showing 6 changed files with 300 additions and 301 deletions.
3 changes: 1 addition & 2 deletions config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ module.exports = {
"givens/setup.js",
"jest-extended/all",
],
setupFiles: ["<rootDir>/config/jest.polyfills.js"],
testEnvironment: "jsdom",
testEnvironment: "jest-fixed-jsdom",
testEnvironmentOptions: {
customExportConditions: [""],
},
Expand Down
14 changes: 0 additions & 14 deletions config/jest.polyfills.js

This file was deleted.

8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"copy_static": "cp ../tree.jquery.js . && cp ../jqtree.css ."
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.13",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.40",
"@tailwindcss/typography": "^0.5.15",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"postcss-import": "^16.1.0",
"postcss-load-config": "^6.0.1",
"postcss-nested": "^6.2.0",
"tailwindcss": "^3.4.7"
"tailwindcss": "^3.4.13"
}
}
Loading

0 comments on commit 2e6c40b

Please sign in to comment.