aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/packages/turbo-workspaces/jest.config.js
blob: 26589507714550ee9293794f4d197cbe6d307af5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
  preset: "ts-jest/presets/js-with-ts",
  testEnvironment: "node",
  testPathIgnorePatterns: ["/__fixtures__/", "/__tests__/test-utils.ts"],
  coveragePathIgnorePatterns: ["/__fixtures__/", "/__tests__/test-utils.ts"],
  transformIgnorePatterns: ["/node_modules/(?!(ansi-regex)/)"],
  modulePathIgnorePatterns: ["<rootDir>/node_modules", "<rootDir>/dist"],
  collectCoverage: true,
  verbose: true,
  coverageThreshold: {
    global: {
      branches: 83,
      functions: 87,
      lines: 93,
      statements: 93,
    },
  },
};