Skip to content
jest.config.js 399 B
Newer Older
Grant's avatar
Grant committed
/** @type {import('ts-jest').JestConfigWithTsJest} **/
module.exports = {
  testEnvironment: "node",
  transform: {
    "^.+.tsx?$": ["ts-jest", {}],
  },
  clearMocks: true,
  rootDir: "./src",
  coverageDirectory: "../coverage",
  coveragePathIgnorePatterns: ["./__mocks__/*", "./__test__/*"],
Grant's avatar
Grant committed
  coverageReporters: ["json", "text", "lcov", "cobertura"],
Grant's avatar
Grant committed
  globalSetup: "./__test__/_prisma.ts",
Grant's avatar
Grant committed
};