Additions/52 lazy load component (#963)

* feat: create challenge 52 on lazy load component

Initial boilerplate from `nx g @angular-challenges/cli:challenge`

* feat: revert to NgModule

Copy of 31

* feat: initial version of starting point

* feat: add documentation

* feat: pr tweaks

Add author file
Remove thomas from the contributor list
Add a more direct hint

* feat: pr tweaks

Update "Go to the latest Challenge" link
This commit is contained in:
Lance Finney
2024-05-27 10:27:15 -05:00
committed by GitHub
parent a07954fa73
commit c8ba057fe0
29 changed files with 397 additions and 20 deletions

View File

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