Skip to content

@angular-devkit 0.1100.5 > 0.1100.6 breaking change #19735

@joshcomley

Description

@joshcomley

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • extract-i18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Yes, the previous version in which this bug was not present was: 0.1100.5

Description

This file has a new default value of true for watch:

https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/build_angular/src/karma/schema.json

This breaks ng test usual behaviour which previously defaulted to false for watch, causing tests to hang in the command line when using ChromeHeadless.

🔬 Minimal Reproduction

Create a new angular project using 0.1100.5, set karma.conf.js to ChromeHeadless and run ng test - the tests will run.
Create a new angular project using 0.1100.6, set karma.conf.js to ChromeHeadless and run ng test - the tests will not run.

🔥 Exception or Error

Tests will not run.

🌍 Your Environment



Angular CLI: 11.0.6
Node: 14.15.0
OS: win32 x64

Angular: 11.0.6
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1100.6
@angular-devkit/build-angular   0.1100.6
@angular-devkit/core            11.0.6
@angular-devkit/schematics      11.0.6
@angular/cdk                    11.0.3
@schematics/angular             11.0.6
@schematics/update              0.1100.6
ng-packagr                      11.0.3
rxjs                            6.6.3
typescript                      4.0.5


Anything else relevant?
Nope.

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