mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-27 00:04:37 +08:00
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
|
|
};
|