Skip to content

Commit 40b92c8

Browse files
committed
Update typescript
1 parent 4221d91 commit 40b92c8

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const config: InitialOptionsTsJest = {
2222
setupFilesAfterEnv: ['<rootDir>/__tests__/web.setup.ts'],
2323
testEnvironment: 'jsdom',
2424
testMatch: ['<rootDir>/src/**/*.test.ts'],
25-
transform: { '^.+\\.[t|j]sx?$': 'ts-jest' },
25+
transform: { '^.+\\.[t|j]sx?$': ['ts-jest', { isolatedModules: true }] },
2626
transformIgnorePatterns: [`node_modules/(?!${ES_MODULE_DEPENDENCIES})`],
2727
} as Config.InitialProjectOptions, // InitialProjectOptions thinks `preset` isn't allowed
2828
{

package-lock.json

+8-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"stylelint-config-standard": "^37.0.0",
114114
"ts-jest": "^29.2.6",
115115
"ts-node": "^10.9.2",
116-
"typescript": "^5.5.4"
116+
"typescript": "^5.6.3"
117117
},
118118
"contributors": [
119119
"Oleh Zasadnyy, GDG Lviv",

0 commit comments

Comments
 (0)