mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-14 11:37:06 +08:00
6aa7a72727
* test: configure testing for frontend code * remove test coverage thresholds, cleanup
9 lines
401 B
TypeScript
9 lines
401 B
TypeScript
import { defaults as tsjPreset } from "ts-jest/presets";
|
|
|
|
export default {
|
|
preset: "ts-jest",
|
|
transform: tsjPreset.transform,
|
|
setupFilesAfterEnv: ["<rootDir>/__tests__/setup-tests.ts"],
|
|
modulePathIgnorePatterns: ["<rootDir>/__tests__/setup-tests.ts"],
|
|
testRegex: "(/__tests__/.*|(\\.|/)(spec))\\.[jt]sx?$", //prevent files like test.ts outside the __tests__ folder to be detected as test
|
|
};
|