Commit 80911af
fix(@angular/build): loosen Vitest dependency checks when runnerConfig is used
When a Vitest configuration file is provided via the `runnerConfig` option,
the builder now only validates that the `vitest` package itself is installed.
Checks for specific browser providers, DOM environments (jsdom/happy-dom),
and coverage providers are skipped, as the custom configuration may handle
these or use alternative setups that the builder cannot predict.
(cherry picked from commit 98ffb68)1 parent 7cf1d3b commit 80911af
File tree
1 file changed
+9
-0
lines changed- packages/angular/build/src/builders/unit-test/runners/vitest
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
25 | 34 | | |
26 | 35 | | |
27 | 36 | | |
| |||
0 commit comments