feat(challenge28): testing a simple checkbox

This commit is contained in:
ThomasL
2023-07-05 14:33:35 +02:00
parent 4ad02e12ad
commit 9534fdcd24
18 changed files with 326 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
/* eslint-disable */
export default {
displayName: 'testing-checkbox',
preset: '../../jest.preset.js',
setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'],
coverageDirectory: '../../coverage/apps/testing-checkbox',
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',
],
};