Skip to content

Commit a80dd35

Browse files
fix: address breaking changes in TypeScript 5 (#587)
fixes #586 --------- Co-authored-by: Simon H <[email protected]> Co-authored-by: Simon Holthausen <[email protected]>
1 parent fdb8a90 commit a80dd35

File tree

5 files changed

+586
-836
lines changed

5 files changed

+586
-836
lines changed

Diff for: jest.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ module.exports = {
55
'<rootDir>/src/**/*.ts',
66
'!<rootDir>/src/types/**/*.ts',
77
],
8+
snapshotFormat: {
9+
escapeString: true,
10+
},
811
transform: {
912
'\\.[jt]sx?$': [
1013
'ts-jest',

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"conventional-changelog-cli": "^2.2.2",
7373
"eslint": "^8.29.0",
7474
"husky": "^8.0.2",
75-
"jest": "^27.5.1",
75+
"jest": "^29.5.0",
7676
"less": "^3.13.1",
7777
"lint-staged": "^10.5.4",
7878
"postcss": "^8.4.19",
@@ -84,8 +84,8 @@
8484
"stylus": "^0.55.0",
8585
"sugarss": "^4.0.0",
8686
"svelte": "^3.54.0",
87-
"ts-jest": "^27.1.5",
88-
"typescript": "^4.9.4"
87+
"ts-jest": "^29.0.5",
88+
"typescript": "^5.0.2"
8989
},
9090
"dependencies": {
9191
"@types/pug": "^2.0.6",

0 commit comments

Comments
 (0)