Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

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

Closed
@BjoernKW

Description

@BjoernKW

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions