tack-up-now/jest.config.ts

19 lines
422 B
TypeScript

import type {Config} from 'jest';
const config: Config = {
verbose: true,
testPathIgnorePatterns: ["/node_modules/", "data/"],
watchPathIgnorePatterns: [
"data"
],
preset: "ts-jest",
testEnvironment: "jest-environment-jsdom",
transform: {
// '^.+\\.ts?$': 'ts-jest',
// '^.+\\.tsx?$': 'ts-jest',
'^.+\\.[t|j]s?$': 'babel-jest',
'^.+\\.[t|j]sx?$': 'babel-jest',
}
};
export default config;