-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vitest config not used in dev tools #837
Comments
To address the issue where your
Additionally, consider defining Nuxt configuration overrides in your By following these steps, you should be able to resolve the issue with
|
Environment
Reproduction
NOTE: No configuration from
vitest.config.ts
is used when running with the devtools, the following steps will only demonstrate that for a configuration that excludes a test folder, but you can try any configuration you want.STEPS TO REPRODUCE:
e2e/dummy.test.ts
:vitest.config.ts
:npm run dev
EXPECTED:
vitest.config.ts
is used and the teste2e/dummy.test.ts
is not executed.ACTUAL:
e2e/dummy.test.ts
is in the test report.Describe the bug
When running vitest from the dev tools,
vitest.config.ts
is not loaded.Additional context
I was able to get a vitest config to work with the devtools by manipulating the nuxt config as follows:
I did not find any documentation about this and only discovered this option by painstakingly diving into the source of the test utils module.
Logs
No response
The text was updated successfully, but these errors were encountered: