mirror of https://github.com/abpframework/abp.git
4 changed files with 24 additions and 9 deletions
@ -0,0 +1,10 @@ |
|||
const { pathsToModuleNameMapper } = require('ts-jest/utils'); |
|||
const { compilerOptions } = require('./tsconfig.spec'); |
|||
const jestConfig = require('../../jest.config'); |
|||
|
|||
module.exports = { |
|||
...jestConfig, |
|||
name: 'theme-shared', |
|||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths /*, { prefix: '<rootDir>/' } */), |
|||
'ts-jest': { allowSyntheticDefaultImports: true }, |
|||
}; |
|||
@ -1,9 +1,14 @@ |
|||
{ |
|||
"extends": "../../tsconfig.json", |
|||
"compilerOptions": { |
|||
"outDir": "../../out-tsc/spec", |
|||
"types": ["node", "jest"] |
|||
"emitDecoratorMetadata": true, |
|||
"esModuleInterop": true, |
|||
"outDir": "../../dist/out-tsc", |
|||
"module": "commonjs", |
|||
"types": ["jest", "node"], |
|||
"paths": { |
|||
"@abp/ng.theme-shared/*": ["packages/theme-shared/src/lib/*"] |
|||
} |
|||
}, |
|||
"files": [], |
|||
"include": ["**/*.spec.ts", "**/*.d.ts"] |
|||
} |
|||
|
|||
Loading…
Reference in new issue