Skip to content

Commit

Permalink
chore: Upgrade jest and friends.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwalton committed Oct 24, 2022
1 parent fb19c56 commit 402914f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions jest.config.js
@@ -1,18 +1,10 @@
module.exports = {
globals: {
'ts-jest': {
tsconfig: {
target: 'es2019',
},
},
},
// Transforms tell jest how to process our non-javascript files.
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
// Tells Jest what folders to ignore for tests
testPathIgnorePatterns: [`node_modules`, `\\.cache`],
testURL: `http://localhost`,
testMatch: ['**/test/**/*Test.ts'],
collectCoverageFrom: ['**/src/**.ts', '!**/node_modules/**', '!**/vendor/**'],
resolver: 'jest-ts-webcompat-resolver',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -29,7 +29,7 @@
"@types/chai": "^4.2.21",
"@types/chai-as-promised": "^7.1.4",
"@types/chai-string": "^1.4.2",
"@types/jest": "^27.0.1",
"@types/jest": "^29.2.0",
"@types/node": "^18.7.23",
"@types/whatwg-url": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^5.9.0",
Expand All @@ -47,14 +47,14 @@
"greenkeeper-lockfile": "^1.14.0",
"husky": "^8.0.1",
"istanbul": "^0.4.0",
"jest": "^27.0.6",
"jest": "^29.2.1",
"jest-ts-webcompat-resolver": "^1.0.0",
"lint-staged": "^13.0.3",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"promise-tools": "^2.1.0",
"semantic-release": "^19.0.2",
"ts-jest": "^27.0.5",
"ts-jest": "^29.0.3",
"ts-node": "^10.2.1",
"typescript": "^4.3.5"
},
Expand Down

0 comments on commit 402914f

Please sign in to comment.