Skip to content

Commit

Permalink
Ignore external tests in Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
sunesimonsen committed Jan 19, 2017
1 parent 1bccbe4 commit 7a2e92e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
"<rootDir>/test/promisePolyfill"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/common.js",
"testRegex": "\\.spec\\.js$"
"testRegex": "test\\/.*\\.spec\\.js$",
"testPathIgnorePatterns": [
"test\\/external.spec.js"
]
}
}

0 comments on commit 7a2e92e

Please sign in to comment.