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
Command
test
Description
In Vitest 4, the import of
@vitest/browser-*automatically augments the types ofvitest/browserwith provider's APIs specificities.Angular CLI could either expose a
vitest.config.tsusing public Angular vite plugins, or in the meantime, the generator could add the provider's package totsconfig.spec.json#compilerOptions.typesor 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.tswith Analog plugin https://github.com/analogjs/analog/tree/main/packages/vitest-angular