Commit 7165324
committed
fix(@angular/build): remove default for unit-test coverage option
Removing the default value of `false` for the `coverage` schema option in the
unit-test builder. When a default was present, it forced the coverage check in
the Vitest plugins to override any user-provided `coverage: { enabled: true }`
values set within a custom `vitest.config.ts`.
Removing the default explicitly allows the option to be `undefined`, respecting
the fallback behavior of the runner configuration.
The description was also updated to explicitly document how the Vitest runner
resolves the coverage configuration when the builder flag is omitted.1 parent 2678f5f commit 7165324
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
0 commit comments