/ngx-spec

A missing spec generator for Angular CLI

Primary LanguageTypeScript

ngx-spec

A missing schematic for creating Angular spec.

Installation

npm i -D ngx-spec

Usage

Supported types are

const supportedTypes = ['component', 'directive', 'guard', 'service', 'pipe', 'module'];

Run:

ng g ngx-spec:spec path/my.service

or

ng g ngx-spec:spec path/my.service.ts

History

See the story behind on stackoverflow and on Angular CLI github issue.

License

MIT