1 | module.exports = {
|
2 | roots: ['<rootDir>/src', '<rootDir>/test'],
|
3 | transform: {
|
4 | '^.+\\.tsx?$': 'ts-jest',
|
5 | "^.+\\.[t|j]sx?$": "babel-jest",
|
6 | '\\.liquid$': 'jest-raw-loader',
|
7 | },
|
8 | watchPathIgnorePatterns: ['json'],
|
9 | testEnvironment: 'jsdom',
|
10 | coverageThreshold: {
|
11 | global: {
|
12 | branches: 70,
|
13 | functions: 70,
|
14 | lines: 70,
|
15 | statements: 70,
|
16 | },
|
17 | },
|
18 | collectCoverage: true,
|
19 | };
|