Initial commit: git-agent-sync CLI tool
This commit is contained in:
19
.jest.config.js
Normal file
19
.jest.config.js
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
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'
|
||||||
|
}
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user