Skip to content

Commit 922e196

Browse files
rubennortefacebook-github-bot
authored andcommitted
jest: make regex for tests stricter
Summary: Updated the configuration for all projects on xplat/js to only consider tests that end with `-test.js`. All tests were migrated in the previous diff of the stack. Reviewed By: mjesun Differential Revision: D13185676 fbshipit-source-id: baaba94fabc403acb30b0b5a0462788813d7a870
1 parent ffa9036 commit 922e196

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"moduleNameMapper": {
3131
"^React$": "<rootDir>/Libraries/react-native/React.js"
3232
},
33+
"testRegex": "/__tests__/.*-test\\.js$",
3334
"testPathIgnorePatterns": [
3435
"Libraries/Renderer",
3536
"/node_modules/",

0 commit comments

Comments
 (0)