feat(anchorscrolling): new challenge

This commit is contained in:
thomas
2023-05-02 12:36:50 +02:00
parent 6db4dfbb9b
commit 75fa6eac9b
17 changed files with 303 additions and 0 deletions

View File

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