You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Cannot define a nested project for a chrome browser. The project name "chrome" was already defined. If you have multiple instances for the same browser, make sure to define a custom "name". All projects in a workspace should have unique names. Make sure your configuration is correct.
config:
test: {
// globals: true,
// setupFiles: ["node_modules/@testing-library/jest-dom/vitest"],
// if you have few tests, try commenting this
// out to improve performance:
isolate: false,
coverage: {
provider: "istanbul", // or 'v8'
enabled: true,
reporter: ["html"],
include: ["js/*", "js/**"],
exclude: ["js/storybook.js"],
},
browser: {
enabled: true,
provider: "webdriverio",
headless: true,
instances: [{ browser: "chrome" }],
},
}
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.
Hello @LostKobrakai. Please provide a minimal reproduction using a GitHub repository or StackBlitz (you can also use examples). Issues marked with needs reproduction will be closed if they have no activity within 3 days.
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: