Skip to content

Instantly share code, notes, and snippets.

@rohanBagchi
Last active August 22, 2020 19:21
Show Gist options
  • Save rohanBagchi/b56683ca8332e0c2908588b794278d97 to your computer and use it in GitHub Desktop.
Save rohanBagchi/b56683ca8332e0c2908588b794278d97 to your computer and use it in GitHub Desktop.
{
"jest": {
"verbose": true,
"testPathIgnorePatterns": [
"/smoke-tests/"
],
"coverageDirectory": "coverage-client",
"collectCoverageFrom": [
"<rootDir>/src/**/*.js",
"!<rootDir>/webpack/*",
"!<rootDir>/src/configureStore.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"setupFiles": [
"<rootDir>/src/test/__helpers__/globals.js"
],
"setupFilesAfterEnv": [
"<rootDir>/src/test/setupTests.js"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!lodash-es)"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testURL": "http://localhost:8081",
"moduleDirectories": [
"node_modules",
"src"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/test/__mocks__/fileMocks.js",
"\\.(css|less|scss)$": "identity-obj-proxy",
"^.{1,2}/style$": "identity-obj-proxy"
}
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment