Code coverage for Angular 17 (esbuilder) and E2E Cypress tests #28463
Replies: 4 comments 3 replies
-
Did you find any way to set up the code coverage with the angular builder ? |
Beta Was this translation helpful? Give feedback.
-
Now for our project works only this way: https://github.com/skylock/cypress-angular-coverage-example/blob/master/README.md |
Beta Was this translation helpful? Give feedback.
-
Well our project was already based on the second link you mentionned. |
Beta Was this translation helpful? Give feedback.
-
It's an awful hack, but I added a "build-coverage" section that was just used for code coverage and used the |
Beta Was this translation helpful? Give feedback.
-
Hello, everyone. Angular 17 advice a new builder - application or browser-esbuild (https://angular.io/guide/esbuild) , but with this builder doesn't work feature for meagering code coverage of Angular project by Cypress E2E tests. We tried to use follow: https://github.com/skylock/cypress-angular-coverage-example/blob/master/README.md , but it doesn't work with new builder. Does cypress have some other ways to measure coverage for Angular 17(esbuild) project?
Beta Was this translation helpful? Give feedback.
All reactions