mirror of https://github.com/abpframework/abp
parent
80da964dc3
commit
844225dd85
@ -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