`unit-test` builder with `vitest` runner should augment types with provider
Command
test
Description
In Vitest 4, the import of @vitest/browser-* automatically augments the types of vitest/browser with provider's APIs specificities.
Angular CLI could either expose a vitest.config.ts using public Angular vite plugins, or in the meantime, the generator could add the provider's package to tsconfig.spec.json#compilerOptions.types or warn if it's missing or if there is a provider mismatch.
Describe the solution you'd like
No response
Describe alternatives you've considered
Using custom vitest.config.ts with Analog plugin https://github.com/analogjs/analog/tree/main/packages/vitest-angular
This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.
You can find more details about the feature request process in our documentation.
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.