chore: remove tsc build from local workspaces (#2020)
This commit is contained in:
19
common.jest.json
Normal file
19
common.jest.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"collectCoverageFrom": ["src/**/*.{ts,tsx}", "!**/index.ts"],
|
||||
"coverageReporters": ["text", "lcov", "html", "json-summary"],
|
||||
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?)$",
|
||||
"testPathIgnorePatterns": ["/node_modules/"],
|
||||
"coveragePathIgnorePatterns": ["/node_modules/"],
|
||||
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"],
|
||||
"transform": {
|
||||
"^.+\\.tsx?$": ["ts-jest", { "tsconfig": "tsconfig.json" }]
|
||||
},
|
||||
"coverageThreshold": {
|
||||
"global": {
|
||||
"branches": 100,
|
||||
"functions": 100,
|
||||
"lines": 100,
|
||||
"statements": 100
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user