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

ng test --watch false does not work for multiple projects #13111

Closed
christianliebel opened this Issue Dec 1, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@christianliebel
Contributor

christianliebel commented Dec 1, 2018

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [x] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

$ node --version
v11.3.0

$ npm --version
6.4.1

$ ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 7.0.7
Node: 11.3.0
OS: darwin x64
Angular: 7.0.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.10.7
@angular-devkit/build-angular     0.10.7
@angular-devkit/build-optimizer   0.10.7
@angular-devkit/build-webpack     0.10.7
@angular-devkit/core              7.0.7
@angular-devkit/schematics        7.0.7
@angular/cli                      7.0.7
@ngtools/webpack                  7.0.7
@schematics/angular               7.0.7
@schematics/update                0.10.7
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.19.1

macOS Mojave 10.14.1

Repro steps

$ ng new foo --defaults true
$ cd foo
$ ng g app bar
$ ng test --watch false

The CLI correctly runs both project tests, however doesn’t exit after performing the last one. With only one project, the command exits correctly.

The log given by the failure

N/A

Desired functionality

The CLI should exit correctly when running ng test --watch false, even with more than one CLI project configured.

Mention any other details that might be useful

N/A

@alan-agius4

This comment has been minimized.

Collaborator

alan-agius4 commented Dec 6, 2018

Fixed via #12673

@alan-agius4 alan-agius4 closed this Dec 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment