Skip to content

Instantly share code, notes, and snippets.

@benbrandt
Last active September 27, 2017 16:10
Show Gist options
  • Save benbrandt/3abd3f07e9c7a1ea08013c274aeab81b to your computer and use it in GitHub Desktop.
Save benbrandt/3abd3f07e9c7a1ea08013c274aeab81b to your computer and use it in GitHub Desktop.
{
"jest": {
"collectCoverageFrom": [
"**/*.{js,jsx}"
],
"coveragePathIgnorePatterns": [
"<rootDir>[/\\\\](coverage|dist|docs|flow-typed|node_modules|config)[/\\\\]"
],
"setupFiles": [
"<rootDir>/config/jest/polyfills.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/index-specrunner.js",
"testPathIgnorePatterns": [
"<rootDir>[/\\\\](coverage|dist|docs|node_modules|config)[/\\\\]"
],
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment