From 5e1d5d8cdc5c960faeeb0cf5171f536eb4745f5d Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Tue, 3 Feb 2026 07:53:15 +0000 Subject: [PATCH] Initial commit: git-agent-sync CLI tool --- .jest.config.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .jest.config.js diff --git a/.jest.config.js b/.jest.config.js new file mode 100644 index 0000000..f7b39ab --- /dev/null +++ b/.jest.config.js @@ -0,0 +1,19 @@ +module.exports = { + preset: 'ts-jest', + testEnvironment: 'node', + roots: ['/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$': '/tests/__mocks__/execa.js' + } +};