Summary: We don't want to test again against the compiled JS output. Also, we *do* want to fail if we break the config and don't actually run any tests. Reviewed By: nikoant Differential Revision: D20068114 fbshipit-source-id: c46e5a25fcd155d160f717a9db8f088787913a28
12 lines
265 B
JSON
12 lines
265 B
JSON
{
|
|
"transform": {
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
},
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"testPathIgnorePatterns": [
|
|
"\/node_modules\/",
|
|
"\/lib\/"
|
|
],
|
|
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"]
|
|
}
|