Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

Unit tests run only once when running ng test under Angular 6.0.0 #847

Closed
BjoernKW opened this issue May 4, 2018 · 0 comments
Closed

Unit tests run only once when running ng test under Angular 6.0.0 #847

BjoernKW opened this issue May 4, 2018 · 0 comments

Comments

@BjoernKW
Copy link

BjoernKW commented May 4, 2018

Bug Report or Feature Request (mark with an x)

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

Area

- [ x ] devkit
- [ ] schematics

Versions

macOS High Sierra 10.13.4
node 9.4.0
npm 6.0.0
Angular CLI: 6.0.0

Repro steps

ng new TestApp
cd ./TestApp
ng test

The log given by the failure

The unit tests for a new app generated with 'ng new' run only once when running 'ng test'

Desired functionality

With a default configuration of singleRun: false in src/karma.conf.js Karma should capture the browser window, run continuously and listen for changes instead of just running once.

The use case is continuous testing.

Mention any other details that might be useful

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant