* feat(upgrade): updated up to angular 11 tests are failed * chore(bump): updated versions * chore(bump): updated package * fix(style): delete extra rule * disabled ivy build, added prod config, changed demo serve script * feat(bump): added strict mode, doesn't build in dist, should be resolved * feat(core): added nx * feat(core): updated dependencies list * feat(github actions): check gh actions * feat(gh actions): try gh actions * feat(gh actions): try gh actions * feat(gh actions): try gh actions * feat(gh actions): try gh actions * feat(gh actions): try gh actions * feat(github actions): delete codecov * feat(firebase): try firebase actions * feat(firebase): try firebase actions * feat(firebase): try firebase actions * feat(firebase): try firebase actions * feat(firebase): try firebase actions * feat(strict): added strict mode * feat(github actions): updated yml file * fix(lint): fixed linting errors * fix(lint): fixed linting errors * fix(lint): fixed lint errors * Delete hosting.ZGlzdC9hcHBzL2RlbW8.cache * feat(github actions): added publish action * fix(firebase): test extra folder https Co-authored-by: Mishchenko Dmitriy <ripatrip@gmail.com> Co-authored-by: Dmitriy Shekhovtsov <valorkin@gmail.com>
27 lines
813 B
JavaScript
27 lines
813 B
JavaScript
module.exports = {
|
|
displayName: 'ng2-file-upload',
|
|
preset: '../../jest.preset.js',
|
|
setupFilesAfterEnv: ['<rootDir>/testing/test-setup.ts'],
|
|
globals: {
|
|
'ts-jest': {
|
|
tsconfig: '<rootDir>/tsconfig.spec.json',
|
|
astTransformers: {
|
|
before: [
|
|
'jest-preset-angular/build/InlineFilesTransformer',
|
|
'jest-preset-angular/build/StripStylesTransformer',
|
|
]
|
|
}
|
|
}
|
|
},
|
|
transform: {
|
|
'^.+\\.[tj]sx?$': 'ts-jest'
|
|
},
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
|
|
coverageDirectory: '../../coverage/libs/ng2-file-upload',
|
|
snapshotSerializers: [
|
|
'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js',
|
|
'jest-preset-angular/build/AngularSnapshotSerializer.js',
|
|
'jest-preset-angular/build/HTMLCommentSerializer.js',
|
|
]
|
|
};
|