Select an Angular *.ts file and use right click to generate the spec file.
Generate spec (jest / jasmine / mockito / empty) files for Angular elements:
- component
- service
- guard
- resolver
- directive
- pipe
- interceptor
The extension works for files in an Angular project. The files should be named like this
- *.component.ts
- *.service.ts
- *.guard.ts
- *.resolver.ts
- *.directive.ts
- *.pipe.ts
- *.interceptor.ts