File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export async function parseTestFiles(
4848 }
4949 for ( const rawTestDef of parsedFile . tests ) {
5050 if ( ! nameFilterFn ( rawTestDef . testName ) ) continue ;
51- const testDef = toTestDef ( rawTestDef , targetUri , defaultConfig ) ;
51+ const testDef = toTestDef ( rawTestDef , defaultConfig , targetUri ) ;
5252 results . push ( testDef ) ;
5353 }
5454 } catch ( ex ) {
@@ -65,7 +65,7 @@ export async function parseTestFiles(
6565 return parseTestFilesRecursive ( dir ) ;
6666}
6767
68- function toTestDef ( testDef : any , targetUri ?: string , defaultConfig : any ) : TestCaseInvocation {
68+ function toTestDef ( testDef : any , defaultConfig : any , targetUri ?: string ) : TestCaseInvocation {
6969 const steps = testDef . steps ?? [ ] ;
7070 const route = testDef . testConfig ?. route ?? defaultConfig ?. route ?? "" ;
7171 const browsers : Browser [ ] = testDef . testConfig ?. browsers ??
You can’t perform that action at this time.
0 commit comments