Skip to content

Commit

Permalink
install jest-environment-jsdom
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Oct 16, 2023
1 parent f44dfb0 commit bd5c7de
Show file tree
Hide file tree
Showing 3 changed files with 273 additions and 10 deletions.
6 changes: 0 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ const createJestConfig = nextJest()
// Any custom config you want to pass to Jest
/** @type {import('jest').Config} */
const customJestConfig = {
// Setting these for now to avoid updating all the snapshots
// See: https://jestjs.io/blog/2022/08/25/jest-29
snapshotFormat: {
escapeString: true,
printBasicPrototype: true,
},
testMatch: ['**/*.test.js', '**/*.test.ts', '**/*.test.jsx', '**/*.test.tsx'],
setupFilesAfterEnv: ['<rootDir>/jest-setup-after-env.ts'],
verbose: true,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
"is-animated": "2.0.2",
"isomorphic-unfetch": "3.0.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-extended": "1.2.1",
"jest-junit": "16.0.0",
"json5": "2.2.3",
Expand Down

0 comments on commit bd5c7de

Please sign in to comment.