nx/docs/angular/api-angular/schematics/karma-project.md
2019-08-21 11:56:21 -04:00

478 B

karma-project

Add karma testing to a project

Usage

ng generate karma-project ...

By default, Nx will search for karma-project in the default collection provisioned in angular.json.

You can specify the collection explicitly as follows:

ng g @nrwl/angular:karma-project ...

Show what will be generated without writing to disk:

ng g karma-project ... --dry-run

Options

project

Type: string

The name of the project.