Skip to content

Cannot debug unit test with karma in CLI version 6.1.2 #11799

@sawyerbutton

Description

@sawyerbutton

Versions

  • angular CLI: 6.1.2
  • angular-devkit/build-angular: ~0.7.2
  • ide: Webstorm 2018.2

Repro steps

The log given by the failure

  • Before angular-devkit/build-angular: 0.7.2(like 0.6.8), there is a problem with 'importing node_modules using Less'.
  • In angular-devkit/build-angular:0.7.2, unit test with karma can not debug(breakpoints cannot get into debug dialog) in Webstorm 2018.2, but the bug with importing node_modules fixed.

Desired functionality

  • Unit-test can run properly.

Mini repo for issue

  • angular-devkit/build-angular: 0.6.8 version with module import problem the link
  • angular-devkit/build-angular: 0.7.2 version with debug problem link

Mention any other details that might be useful

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions