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