Describe the feature or problem you'd like to solve
My fingers hurt from having to replace the default code in every spec with some initial code for testing with NgMocks.
Proposed solution
Add a new library project called schematics created using @angular-devkit/schematics-cli.
- Add spec schematics for the following types where there are existing specs created:
- class
- Component
- Directive
- Interceptor
- Pipe
- Service
- _Nice to have: Application app.component.spec.ts for both module and standalone components. Seems like a pain for a specific file.
- Nice to have: ng_add schematic that asks to replace default schematics in a project's angular.json.
- Package schematics with ng-mocks.
- Documentation for schematics including instructions for modifying angular.json.
Additional context
Describe the feature or problem you'd like to solve
My fingers hurt from having to replace the default code in every spec with some initial code for testing with NgMocks.
Proposed solution
Add a new library project called schematics created using @angular-devkit/schematics-cli.
Additional context