1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/** @type {import('ts-jest').JestConfigWithTsJest} */ module.exports = { preset: 'ts-jest', testEnvironment: 'node', transform: { "^.+\\.spec.ts?$": [ "ts-jest", { diagnostics: { exclude: ['**'], }, }, ], }, transformIgnorePatterns: ["<rootDir>/node_modules/"], };