File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export default defineConfig(() => {
45
45
test : {
46
46
browser : {
47
47
enabled : BROWSER_ENABLED ,
48
- instances : [ { browser : BROWSER_NAME } ] ,
48
+ instances : BROWSER_NAME != null ? [ { browser : BROWSER_NAME } ] : [ ] ,
49
49
provider : 'playwright' ,
50
50
headless : true ,
51
51
screenshotFailures : false ,
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export default defineConfig(({ mode }) => {
115
115
test : {
116
116
browser : {
117
117
enabled : BROWSER_ENABLED ,
118
- instances : [ { browser : BROWSER_NAME } ] ,
118
+ instances : BROWSER_NAME != null ? [ { browser : BROWSER_NAME } ] : [ ] ,
119
119
provider : 'playwright' ,
120
120
headless : true ,
121
121
screenshotFailures : false ,
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export default defineConfig(({ mode }) => {
131
131
test : {
132
132
browser : {
133
133
enabled : BROWSER_ENABLED ,
134
- instances : [ { browser : BROWSER_NAME } ] ,
134
+ instances : BROWSER_NAME != null ? [ { browser : BROWSER_NAME } ] : [ ] ,
135
135
provider : 'playwright' ,
136
136
headless : true ,
137
137
screenshotFailures : false ,
You can’t perform that action at this time.
0 commit comments