analogjs / analog

The fullstack meta-framework for Angular. Powered by Vite and Nitro
https://analogjs.org
MIT License
2.52k stars 240 forks source link

vitest-angular ignores the `--config` options #1331

Closed JonathanCabezas closed 2 weeks ago

JonathanCabezas commented 3 weeks ago

Please provide the environment you discovered this bug in.

In @analogjs/vitest-angular@1.7.3

Which area/package is the issue in?

vitest-angular

Description

In @analogjs/vitest-angular@1.7.3, setting the config options in CLI has no effect.

Please provide the exception or error you saw

ng test --config=vite.config.unit.ts doesn't load the config while vitest run --config=vite.config.unit.ts does.

Other information

No response

I would be willing to submit a PR to fix this issue