Skip to content

constructor coverage for angular is not correct anymoreΒ #12132

@bulldog98

Description

@bulldog98

Current Behavior

If you have an angular lib/app with an injection in the constructor then jest reports it as a not covered branch

Expected Behavior

This is a regression I remember it working around 1-2 weeks ago (was 14.6.5 I think).

Steps to Reproduce

Reproduction: nrwl/nx-examples#229

  • run yarn nx products:test
  • observe the coverage info

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions