Skip to content

Commit 167a572

Browse files
committed
chore: upgrade dev dependencies and fix tests
1 parent 9dc344b commit 167a572

File tree

6 files changed

+5341
-5080
lines changed

6 files changed

+5341
-5080
lines changed

.yarnrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

jest.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module.exports = {
22
preset: 'ts-jest',
3+
testEnvironment: 'jsdom',
34
collectCoverage: true,
4-
coverageDirectory: "coverage",
5-
};
5+
coverageDirectory: 'coverage',
6+
}

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,19 @@
2121
"react": ">=16.8.0"
2222
},
2323
"devDependencies": {
24-
"@testing-library/jest-dom": "^4.0.0",
25-
"@testing-library/react": "^8.0.1",
26-
"@types/jest": "^24.0.15",
27-
"@types/react": "^17.0.0",
28-
"@types/react-dom": "^17.0.0",
24+
"@testing-library/jest-dom": "^6.1.4",
25+
"@testing-library/react": "^14.1.0",
26+
"@types/jest": "^29.5.8",
27+
"@types/react": "^18.2.0",
28+
"@types/react-dom": "^18.2.0",
2929
"gulp": "^4.0.2",
3030
"gulp-clean": "^0.4.0",
31-
"jest": "^24.8.0",
32-
"react": "^17.0.0",
33-
"react-dom": "^17.0.0",
34-
"ts-jest": "^24.0.2",
35-
"typescript": "^3.5.2",
31+
"jest": "^29.7.0",
32+
"jest-environment-jsdom": "^29.7.0",
33+
"react": "^18.2.0",
34+
"react-dom": "^18.2.0",
35+
"ts-jest": "^29.1.1",
36+
"typescript": "^5.2.2",
3637
"use-debounce": "^2.1.0"
3738
},
3839
"sideEffects": [],

0 commit comments

Comments
 (0)