Skip to content

Commit

Permalink
fix jest setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestTeluk committed Jul 25, 2024
1 parent dc65c08 commit f84de0f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 37 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
'^uniforms([^/]*)(.*)$': '<rootDir>/packages/uniforms$1/src$2',
},
preset: 'ts-jest',
setupFiles: ['./scripts/setupEnzyme.ts', './scripts/setupFilterWarnings.ts'],
setupFiles: ['./scripts/setupFilterWarnings.ts'],
setupFilesAfterEnv: ['./scripts/setupMatchers.ts'],
testEnvironment: 'jsdom',
testPathIgnorePatterns: ['/node_modules/', '/_[^/]*$', '\\.d\\.ts$'],
Expand Down
35 changes: 0 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "14.4.3",
"@types/classnames": "2.2.11",
"@types/enzyme": "3.10.8",
"@types/invariant": "2.2.34",
"@types/jest": "26.0.20",
"@types/lodash": "4.14.168",
Expand Down

0 comments on commit f84de0f

Please sign in to comment.