Issue with Coverage Angular, Cypress, Istanbul assessment

Viewed 31

Following the instructions at the link https://docs.cypress.io/guides/tooling/code-coverage.html#See-code-coverage-summary, I set up a system and test suite that should give me Method Coverage of the angular application. In particular, after running

npx nyc instrument src src --in-place

I started the tests:enter image description here. The problem is that the coverage output is this: enter image description here

In fact in the console if I write coverage it gives me the following output: enter image description here

As if the only two files on which the coverage take place are environment.ts and main.ts. There is no code analyses on all other .ts files. Any suggestions?

0 Answers
Related