Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test don't run due to --single-run option #237

Closed
8 tasks done
wstidolph opened this issue May 3, 2018 · 1 comment
Closed
8 tasks done

Test don't run due to --single-run option #237

wstidolph opened this issue May 3, 2018 · 1 comment
Assignees
Labels
P3: low Not really necessary or nice to have status: reproduced type: bug Issues that break the functionality

Comments

@wstidolph
Copy link

wstidolph commented May 3, 2018

I'm submitting a...


[X] Bug report  
[ ] Feature request
[ ] Documentation issue or request

Current behavior

Attempt to run tests but get:

PS C:\Users\wayne\Projects\VidLessons> npm test

> [email protected] test C:\Users\wayne\Projects\VidLessons
> ng test --single-run --code-coverage

Unknown option: '--singleRun'

Expected behavior

Tests would run, once

Minimal reproduction of the problem with instructions

  1. Generate default app (named 'VidLessons' in my case)
  2. cd into dir
  3. npm test

Note: ng test runs; the problem is just the single-run flag that's a problem, it's not among the options listed with ng test --help

What is the motivation / use case for changing the behavior?

Should be able to test under Angular 6

Environment

PS C:\Users\wayne\Projects\VidLessons> npm list -g --depth=0
C:\Users\wayne\AppData\Roaming\npm
+-- @angular/[email protected]
+-- @ionic/[email protected]
+-- @ngx-rocket/[email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]

PS C:\Users\wayne\Projects\VidLessons> ng --version
...
Angular CLI: 6.0.0
Node: 9.6.1
OS: win32 x64
Angular: 6.0.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, http, language-service, material, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     0.6.0
@angular-devkit/build-optimizer   0.6.0
@angular-devkit/core              0.6.0
@angular-devkit/schematics        0.6.0
@ngtools/webpack                  6.0.0
@schematics/angular               0.6.0
@schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

Angular version: 6.0.0

Browser:

  • Chrome (desktop) version XX
  • Chrome (Android) version XX
  • Chrome (iOS) version XX
  • Firefox version XX
  • Safari (desktop) version XX
  • Safari (iOS) version XX
  • IE version XX
  • Edge version XX

For Tooling issues:

  • Node version: 9.6.1
  • Platform: Windows 10

Others:

@maciejtreder maciejtreder added type: bug Issues that break the functionality P3: low Not really necessary or nice to have status: reproduced labels May 4, 2018
@maciejtreder maciejtreder self-assigned this May 4, 2018
@maciejtreder maciejtreder added this to the 2.2.0 milestone May 4, 2018
maciejtreder added a commit that referenced this issue May 4, 2018
maciejtreder added a commit that referenced this issue May 4, 2018
maciejtreder added a commit that referenced this issue May 4, 2018
@maciejtreder
Copy link
Owner

@wstidolph Please verify with the latest build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3: low Not really necessary or nice to have status: reproduced type: bug Issues that break the functionality
Projects
None yet
Development

No branches or pull requests

2 participants