Skip to content

Commit 2aef4fe

Browse files
authored
Pin JSDOM@23.1.0 (#3428)
* Quadruple test timeouts * pin jsdom
1 parent e953d9a commit 2aef4fe

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,17 @@
6868
"@microsoft/api-extractor": "^7.23.0",
6969
"@rollup/plugin-babel": "^6.0.3",
7070
"@rollup/plugin-node-resolve": "^15.1.0",
71-
"@testing-library/jest-dom": "^6.0.0",
72-
"@testing-library/react": "^14.0.0",
73-
"@testing-library/user-event": "^14.1.1",
71+
"@testing-library/jest-dom": "^6.2.0",
72+
"@testing-library/react": "^14.1.2",
73+
"@testing-library/user-event": "^14.5.2",
7474
"@types/lodash-es": "^4.17.7",
7575
"@types/node": "^20.10.3",
7676
"@types/react": "^18.2.35",
7777
"@types/react-dom": "^18.2.4",
7878
"@typescript-eslint/eslint-plugin": "^6.1.0",
7979
"@typescript-eslint/parser": "^6.1.0",
80-
"@vitejs/plugin-react": "^4.0.2",
81-
"@vitest/coverage-v8": "^1.0.0",
80+
"@vitejs/plugin-react": "^4.2.1",
81+
"@vitest/coverage-v8": "^1.2.0",
8282
"@wyw-in-js/rollup": "^0.2.2",
8383
"@wyw-in-js/vite": "^0.2.2",
8484
"babel-plugin-optimize-clsx": "^2.6.2",
@@ -91,7 +91,7 @@
9191
"eslint-plugin-react-hooks": "^4.6.0",
9292
"eslint-plugin-sonarjs": "^0.23.0",
9393
"eslint-plugin-testing-library": "^6.2.0",
94-
"jsdom": "^23.0.1",
94+
"jsdom": "23.1.0",
9595
"jspdf": "^2.5.1",
9696
"jspdf-autotable": "^3.5.23",
9797
"lodash-es": "^4.17.21",
@@ -105,8 +105,8 @@
105105
"rollup": "^4.0.2",
106106
"rollup-plugin-postcss": "^4.0.2",
107107
"typescript": "~5.3.2",
108-
"vite": "^5.0.0",
109-
"vitest": "^1.0.0"
108+
"vite": "^5.0.11",
109+
"vitest": "^1.2.0"
110110
},
111111
"peerDependencies": {
112112
"react": "^18.0",

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ export default defineConfig({
3232
test: {
3333
root: '.',
3434
environment: 'jsdom',
35-
pool: 'vmThreads',
3635
globals: true,
3736
coverage: {
3837
provider: 'v8',
3938
enabled: isCI,
4039
include: ['src/**/*.{ts,tsx}', '!src/types.ts'],
4140
reporter: ['text', 'json']
4241
},
42+
pool: 'vmThreads',
4343
poolOptions: {
4444
vmThreads: {
4545
useAtomics: true

0 commit comments

Comments
 (0)