monkeytype/frontend/jest.config.ts
Christian Fehmer 6aa7a72727
test: configure testing for frontend code (fehmer) (#4879)
* test: configure testing for frontend code

* remove test coverage thresholds, cleanup
2024-01-08 15:26:57 +01:00

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
};