/** @type {import('ts-jest').JestConfigWithTsJest} */ module.exports = { preset: 'ts-jest', testEnvironment: 'node', collectCoverage: true, coverageDirectory: 'coverage', collectCoverageFrom: [ '**/*.ts', '!/nodemodules/', '!/jest.config.js/', '!/coverage/', '!**/server.ts', ], coverageThreshold: { global: { lines: 80, }, }, };