Repository navigation
Commit 6d8c86a
committed
fix(@angular/build): suggest the istanbul provider in the unit-test V8 browser coverage error
When code coverage uses the V8 provider with a non-Chromium browser, the unit-test builder told
users to disable coverage or remove the browser. The error predates Istanbul coverage support in
the Vitest runner, so it never mentioned the option that keeps both. Suggest the `istanbul` provider
first. The browser coverage e2e test now asserts the new hint.1 parent 193abc0 commit 6d8c86a
2 files changed
Lines changed: 7 additions & 1 deletion
File tree
- packages/angular/build/src/builders/unit-test/runners/vitest
- tests/e2e/tests/vitest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
| 532 | + | |
| 533 | + | |
533 | 534 | | |
534 | 535 | | |
535 | 536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| |||
0 commit comments