@apistudio/apim-cli
Version:
CLI for API Management Products
21 lines (20 loc) • 356 B
JavaScript
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
transform: {
'^.+\\.ts$': 'ts-jest',
},
globals: {
'ts-jest': {
tsconfig: 'tsconfig.jest.json'
}
},
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
setupFiles: ['./jest.setup.ts'],
testMatch: [
'**/test/**/*.functional.test.ts',
'**/src/**/*.unit.test.ts',
]
};