SIGN IN SIGN UP

feat(@angular/build): support Istanbul coverage in Vitest runner

This change enables code coverage reporting when running tests in non-Chromium browsers (like Firefox or Safari) with the Vitest runner.

The system now automatically detects the best coverage provider based on the configured browsers and installed packages:
- If non-Chromium browsers are configured, it selects 'istanbul'.
- If only Chromium browsers are used, it selects 'istanbul' if it is the only provider package installed.
- Otherwise, it defaults to 'v8'.
It also respects the provider specified in the user's custom Vitest configuration.
C
Charles Lyding committed
73233dc5f41b570f5ac095b255a46de6cbfb54b7
Parent: b47dfba
Committed by Alan Agius <alan.agius4@gmail.com> on 4/23/2026, 8:54:11 AM