Skip to content

Commit

Permalink
feat: upgrade Jest and TypeScript dependencies to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkoops authored Oct 8, 2024
1 parent 7da93dc commit 92d2f2e
Show file tree
Hide file tree
Showing 3 changed files with 1,041 additions and 1,466 deletions.
31 changes: 8 additions & 23 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,12 @@
/** @type {import('ts-jest').JestConfigWithTsJest} **/
module.exports = {
testEnvironment: "jsdom",
globals: {
'ts-jest': {
tsconfig: './tsconfig.spec.json',
diagnostics: true
}
},
testEnvironment: 'jsdom',
transform: {
'^.+\\.tsx?$': 'ts-jest'
'^.+.tsx?$': [
'ts-jest',
{
tsconfig: 'tsconfig.spec.json',
},
],
},
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
coveragePathIgnorePatterns: [
'<rootDir>/dist/',
'<rootDir>/node_modules/',
'<rootDir>/out-tsc/',
'<rootDir>/test/'
],
moduleFileExtensions: [
'ts',
'tsx',
'js',
'jsx',
'json',
'node'
]
};
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,22 @@
"test": "jest --watch"
},
"dependencies": {
"tslib": "^2.4.0"
"tslib": "^2.7.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.30",
"@types/jest": "^29.5.13",
"@types/node": "^22.7.4",
"camelcase": "^8.0.0",
"jest": "^28.0.3",
"jest-environment-jsdom": "^28.0.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-run-all": "^4.1.5",
"rollup": "^4.24.0",
"ts-jest": "next",
"ts-jest": "^29.2.5",
"tslint": "^6.1.3",
"typescript": "^4.6.4"
"typescript": "^5.6.2"
},
"engines": {
"node": ">= 12"
Expand Down
Loading

0 comments on commit 92d2f2e

Please sign in to comment.