mirror of https://github.com/abpframework/abp
parent
19c487bf8f
commit
80da964dc3
@ -1,9 +1,10 @@
|
||||
const { pathsToModuleNameMapper } = require('ts-jest/utils');
|
||||
const { compilerOptions } = require('./tsconfig.spec');
|
||||
const jestConfig = require('../../jest.config');
|
||||
|
||||
module.exports = {
|
||||
...jestConfig,
|
||||
name: 'core',
|
||||
testMatch: ['<rootDir>/packages/core/**/+(*.)+(spec|test).+(ts|js)?(x)'],
|
||||
coverageDirectory: '../../coverage/libs/core',
|
||||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths /*, { prefix: '<rootDir>/' } */),
|
||||
};
|
||||
|
Loading…
Reference in new issue