Files
git-agent-sync/jest.config.js
7000pctAUTO c1b44784cf
Some checks failed
CI / test (push) Has been cancelled
fix: Rename files to correct paths (remove leading dots)
2026-02-03 08:05:32 +00:00

20 lines
457 B
JavaScript

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
roots: ['<rootDir>/tests'],
testMatch: ['**/*.test.ts'],
moduleFileExtensions: ['ts', 'js', 'json'],
collectCoverageFrom: [
'src/**/*.ts',
'!src/index.ts'
],
coverageDirectory: 'coverage',
verbose: true,
transformIgnorePatterns: [
'node_modules/(?!execa|strip-final-newline)'
],
moduleNameMapper: {
'^execa$': '<rootDir>/tests/__mocks__/execa.js'
}
};