-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Browser Mode doesn't work #7358
Comments
Hello @LostKobrakai. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with |
The error seems to suggest that your You can confirm this by logging out the resolved config: export default defineConfig({
plugins: [
solidPlugin(),
+ {
+ name: 'debug',
+ enforce: 'post',
+ configResolved(config) {
+ console.log(config.test?.browser);
+ },
+ },
], And seeing this in {
enabled: true,
provider: 'webdriverio',
headless: true,
instances: [
{ browser: 'chrome', name: 'chrome' },
{ browser: 'chrome', name: 'chrome' }
]
} Upon further investigation, you can find a bug already reported to This isn't an issue with Vitest. The Solid plugin returns a full |
@kettanaito Thanks for looking into this 👍 Closing this one in favor of solid's issue (also the duplicate of #7284) |
Describe the bug
When running
npx vitest run
config:
I'm not using workspaces. Also the project name is whatever I put as name of the browser instance - the function simply seems to be called multiple times, by definitions putting the same key in the set names set twice.
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-91sxljov?file=vite.config.ts seems to be related to the solid plugin, without the plugin things work.
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: