Skip to content

Commit 6b69f4e

Browse files
Copilotdgreif
andcommitted
Simplify vitest browser configuration
- Use simpler browser config format as recommended - Remove instances array wrapper - Config now uses browser.name directly with chromium Co-authored-by: dgreif <[email protected]>
1 parent 9229e11 commit 6b69f4e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

vitest.config.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,9 @@ export default defineConfig({
2626
test: {
2727
browser: {
2828
enabled: true,
29+
name: 'chromium',
2930
provider: 'playwright',
30-
instances: [
31-
{
32-
browser: 'chromium',
33-
launch: {
34-
headless: true
35-
}
36-
}
37-
]
31+
headless: true
3832
}
3933
},
4034
preview: {

0 commit comments

Comments
 (0)