Closed
Description
Describe the bug
Vitest shows a warning every time I open a project that uses Vite but does not use Vitest.
Line 41 in 49d8e83
I do not always use Vitest for various reasons, so I should be able to disable this warning with a setting like vitest.warnIfNotInstalled = false
. A button on the warning like "Don't remind me again" could set this setting.
Reproduction
Open any project that uses Vite but does not use Vitest
Output
[INFO 13:50:07] [v0.10.7] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace.
[Error 13:50:07] [API] Vitest not found for file:///Users/*/projects/*/vite.config.ts.
[Error 13:50:07] [API] Failed to start Vitest: No vitest config files found
Version
0.10.7
Validations
- Check that you are using the latest version of the extension
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.