UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

27 lines (26 loc) 713 B
export default { preset: 'ts-jest/presets/js-with-ts-esm', testEnvironment: 'node', moduleFileExtensions: ['ts', 'js', 'json'], testMatch: ['**/*.test.ts'], transform: { '^.+\\.ts$': ['ts-jest', { tsconfig: 'tsconfig.json', useESM: true }], }, moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1' }, extensionsToTreatAsEsm: ['.ts'], transformIgnorePatterns: [ 'node_modules/(?!(@apic/smith-transformer|@apic/smith-inventory|@apic/wmgw-smith-inventory)/)' ], resolver: 'jest-ts-webcompat-resolver', globals: { 'ts-jest': { useESM: true, isolatedModules: true } } };