jest.config.js
module.exports = {
moduleFileExtensions: ['ts', 'js', 'json'],
transform: {
'^.+\\.(ts|tsx)$': [
'ts-jest',
{
tsconfig: 'tsconfig.json',
},
],
},
testMatch: ['**/*.test.(ts)'],
testEnvironment: 'node',
reporters: ['default', ['jest-junit', { output: './coverage/junit/unit' }]],
watchPathIgnorePatterns: ['pact/logs/*', 'pact/pacts/*'],
};