Skip to content

Commit

Permalink
feat!: upgrade to jest v28
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Mar 23, 2023
1 parent 38fbed3 commit 15e5452
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
"execa": "^4.1.0",
"figlet": "^1.5.2",
"fs-extra": "^10.1.0",
"jest": "^27.4.7",
"jest-watch-typeahead": "^0.6.5",
"jest": "^28.1.3",
"jest-watch-typeahead": "^2.2.2",
"jpjs": "^1.2.1",
"lodash.merge": "^4.6.2",
"ora": "^5.4.1",
Expand All @@ -103,7 +103,7 @@
"shelljs": "^0.8.5",
"sort-package-json": "^1.57.0",
"tiny-glob": "^0.2.9",
"ts-jest": "^27.1.5",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"tslib": "^2.4.1",
"type-fest": "^2.14.0",
Expand Down
2 changes: 1 addition & 1 deletion src/createJestConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function createJestConfig(
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
collectCoverageFrom: ['src/**/*.{ts,tsx,js,jsx}'],
testMatch: ['<rootDir>/**/*.(spec|test).{ts,tsx,js,jsx}'],
testURL: 'http://localhost',
testEnvironmentOptions: { testURL: 'http://localhost' },
rootDir,
watchPlugins: [
'jest-watch-typeahead/filename',
Expand Down

0 comments on commit 15e5452

Please sign in to comment.