/** @type {import('jest').Config} */ const config = { moduleFileExtensions: ['js', 'json', 'ts'], rootDir: 'src', testRegex: '.\\.test\\.ts$', transform: { '^.+\\.(t|j)s$': 'ts-jest', }, collectCoverageFrom: ['**/*.(t|j)s'], coverageDirectory: '../coverage', testEnvironment: 'node', }; module.exports = config;