Table of Contents
Vitest’s IDE integration relies in general on the vitest.config.* files.
With the crafty ide command, vitest.config.mjs is generated to be read by your IDE.
Note that
vitest.config.mjsis generated by Crafty, alternative Vitest config filenames are removed, andcrafty testignores officialvitest.config.*files.
IDE plugins
- Visual Studio Code: Use a Vitest extension that can discover
vitest.config.mjs, or configurevitest.rootConfigmanually when your extension requires it.