Skip to content

ng test Unknown option --reportersΒ #11376

Closed
@Vaelor

Description

@Vaelor

Bug Report or Feature Request (mark with an x)

- [x] bug report
- [ ] feature request

Area

- [ ] devkit
- [ ] schematics
- [x] Don't know

Versions

$ ng --version

Angular CLI: 6.0.8
Node: 10.4.1
OS: linux x64
Angular: 6.0.5
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.8
@angular-devkit/build-angular     0.6.8
@angular-devkit/build-optimizer   0.6.8
@angular-devkit/core              0.6.8
@angular-devkit/schematics        0.6.8
@angular/cli                      6.0.8
@ngtools/json-schema              1.2.0
@ngtools/webpack                  6.0.8
@schematics/angular               0.6.8
@schematics/update                0.6.8
ng-packagr                        2.4.1
rxjs                              6.2.1
typescript                        2.7.2
webpack                           4.8.3

Repro steps

Run ng test with the --reporters option. This worked on previous versions and is now gone.

The log given by the failure

Unknown option: '--reporters'

Desired functionality

At least a migration guide to what use instead - I have not found any info on the removal on the releases page (which serves as the changelog).
Between releases this option was just removed:
Diff for ng test wiki

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions