nx migrations
This commit is contained in:
parent
c7546078ec
commit
e42951fd9a
@ -5,10 +5,7 @@ module.exports = {
|
|||||||
globals: {
|
globals: {
|
||||||
'ts-jest': {
|
'ts-jest': {
|
||||||
tsconfig: '<rootDir>/tsconfig.spec.json',
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
||||||
stringifyContentPathRegex: '\\.(html|svg)$',
|
stringifyContentPathRegex: '\\.(html|svg)$'
|
||||||
astTransformers: {
|
|
||||||
before: ['jest-preset-angular/build/InlineFilesTransformer', 'jest-preset-angular/build/StripStylesTransformer']
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
coverageDirectory: '../../coverage/libs/common-ui',
|
coverageDirectory: '../../coverage/libs/common-ui',
|
||||||
@ -16,5 +13,6 @@ module.exports = {
|
|||||||
'jest-preset-angular/build/serializers/no-ng-attributes',
|
'jest-preset-angular/build/serializers/no-ng-attributes',
|
||||||
'jest-preset-angular/build/serializers/ng-snapshot',
|
'jest-preset-angular/build/serializers/ng-snapshot',
|
||||||
'jest-preset-angular/build/serializers/html-comment'
|
'jest-preset-angular/build/serializers/html-comment'
|
||||||
]
|
],
|
||||||
|
transform: { '^.+\\.(ts|js|html)$': 'jest-preset-angular' }
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user