Skip to content

Instantly share code, notes, and snippets.

@EQuimper
Created January 8, 2017 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EQuimper/6e4e1d7857d0260f025de72a7fa2697a to your computer and use it in GitHub Desktop.
Save EQuimper/6e4e1d7857d0260f025de72a7fa2697a to your computer and use it in GitHub Desktop.
ex jest script
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"jest": {
"setupFiles": ["./test/jestsetup.js"],
"snapshotSerializers": [
"<rootDir>/node_modules/enzyme-to-json/serializer"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment