@availity/api-axios
Version:
Wrappers for axios designed to work with the Availity portal
18 lines (15 loc) • 514 B
JavaScript
const { pathsToModuleNameMapper } = require('ts-jest/utils');
const { compilerOptions } = require('../../tsconfig.json');
module.exports = {
displayName: 'api-axios',
preset: '../../jest.preset.js',
testURL: 'http://localhost:8080',
globals: {
'ts-jest': {
tsconfig: '<rootDir>/tsconfig.spec.json',
},
},
coverageDirectory: '../../coverage/api-axios',
coverageReporters: ['json'],
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/../../' }),
};