having the plugin used as in the README will prevent vitest from starting correctly (depending on adapter, error may change)
the only way is to defineConfig(({ mode }) => and return a config with loaded plugin when mode !== 'test' which is far from pretty.
any chance to disable the plugin for tests? even with an option?
having the plugin used as in the README will prevent vitest from starting correctly (depending on adapter, error may change)
the only way is to
defineConfig(({ mode }) =>and return a config with loaded plugin whenmode !== 'test'which is far from pretty.any chance to disable the plugin for tests? even with an option?