Skip to content

Commit

Permalink
Merge pull request #397 from ministryofjustice/alee/shallow-snapshot-…
Browse files Browse the repository at this point in the history
…serializer

Using shallow enzyme snapshot serializer
  • Loading branch information
petergphillips authored Jun 6, 2019
2 parents 2d107c6 + 5e54133 commit af34c52
Show file tree
Hide file tree
Showing 11 changed files with 1,572 additions and 24,784 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"debug": "~2.6.9",
"dotenv": "^5.0.1",
"ejs": "^2.6.1",
"enzyme-to-json": "^3.3.5",
"express": "^4.16.3",
"express-form-data": "^2.0.7",
"final-form": "^4.11.0",
Expand Down Expand Up @@ -163,6 +164,7 @@
"<rootDir>/config/polyfills.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/config/jest/setupTests.js",
"snapshotSerializers": ["enzyme-to-json/serializer"],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",
"<rootDir>/(src|backend)/**/?(*.)(spec|test).{js,jsx,mjs}"
Expand Down
Loading

0 comments on commit af34c52

Please sign in to comment.