Skip to content

Commit

Permalink
Merge pull request #67 from PocketDerm/upgrade-jest
Browse files Browse the repository at this point in the history
upgrade jest to v24
  • Loading branch information
snags88 authored Mar 7, 2019
2 parents 493a4ce + da45750 commit ee1ecc9
Show file tree
Hide file tree
Showing 3 changed files with 963 additions and 421 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { defaults } = require('jest-config');

module.exports = {
snapshotSerializers: ['jest-emotion'],
setupTestFrameworkScriptFile: "<rootDir>tests/setupTests.js",
setupFilesAfterEnv: ["<rootDir>tests/setupTests.js"],
testPathIgnorePatterns: [...defaults.testPathIgnorePatterns, "/lib/"],
moduleNameMapper: {
'\\.svg': '<rootDir>/tests/__mocks__/svgMock.js',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"husky": "^1.1.2",
"jest": "^23.6.0",
"jest": "^24.3.1",
"jest-emotion": "^10.0.6",
"lint-staged": "^7.3.0",
"lodash.round": "^4.0.4",
Expand Down
Loading

0 comments on commit ee1ecc9

Please sign in to comment.