feat(project): delete dependancy to primeng

This commit is contained in:
thomas
2023-11-10 15:27:04 +01:00
parent e57a2aaecb
commit 986b3e1bb6
20 changed files with 266 additions and 61 deletions

View File

@@ -0,0 +1,22 @@
/* eslint-disable */
export default {
displayName: 'angular/di',
preset: '../../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../../coverage/libs/angular/di',
transform: {
'^.+\\.(ts|mjs|js|html)$': [
'jest-preset-angular',
{
tsconfig: '<rootDir>/tsconfig.spec.json',
stringifyContentPathRegex: '\\.(html|svg)$',
},
],
},
transformIgnorePatterns: ['node_modules/(?!.*\\.mjs$)'],
snapshotSerializers: [
'jest-preset-angular/build/serializers/no-ng-attributes',
'jest-preset-angular/build/serializers/ng-snapshot',
'jest-preset-angular/build/serializers/html-comment',
],
};