File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1306,9 +1306,9 @@ exports.setEnforceSettingsConfig = (bsConfig) => {
1306
1306
}
1307
1307
// set specs in config of specpattern to override cypress config
1308
1308
if ( ! this . isUndefined ( bsConfig ) && ! this . isUndefined ( bsConfig . run_settings ) && ! this . isUndefined ( bsConfig . run_settings . specs ) ) {
1309
- let spec_pattern_args = " specPattern='" + bsConfig . run_settings . specs + "'" ;
1309
+ let spec_pattern_args = ' specPattern="' + bsConfig . run_settings . specs + '"' ;
1310
1310
if ( bsConfig . run_settings . cypressTestSuiteType !== Constants . CYPRESS_V10_AND_ABOVE_TYPE ) {
1311
- spec_pattern_args = " testFiles='" + bsConfig . run_settings . specs + "'" ;
1311
+ spec_pattern_args = ' testFiles="' + bsConfig . run_settings . specs + '"' ;
1312
1312
}
1313
1313
config_args = this . isUndefined ( config_args ) ? spec_pattern_args : config_args + ',' + spec_pattern_args ;
1314
1314
}
Original file line number Diff line number Diff line change @@ -3071,7 +3071,7 @@ describe('utils', () => {
3071
3071
run_settings : { specs : 'somerandomspecs' , cypressTestSuiteType : 'CYPRESS_V10_AND_ABOVE_TYPE' } ,
3072
3072
} ;
3073
3073
let args = {
3074
- config : " video=false,videoUploadOnPasses=false,specPattern=' somerandomspecs'"
3074
+ config : ' video=false,videoUploadOnPasses=false,specPattern=" somerandomspecs"'
3075
3075
}
3076
3076
utils . setEnforceSettingsConfig ( bsConfig ) ;
3077
3077
expect ( args . config ) . to . be . eql ( bsConfig . run_settings . config ) ;
@@ -3081,7 +3081,7 @@ describe('utils', () => {
3081
3081
run_settings : { specs : 'somerandomspecs' , cypressTestSuiteType : 'CYPRESS_V9_AND_OLDER_TYPE' } ,
3082
3082
} ;
3083
3083
let args = {
3084
- config : " video=false,videoUploadOnPasses=false,testFiles=' somerandomspecs'"
3084
+ config : ' video=false,videoUploadOnPasses=false,testFiles=" somerandomspecs"'
3085
3085
}
3086
3086
utils . setEnforceSettingsConfig ( bsConfig ) ;
3087
3087
expect ( args . config ) . to . be . eql ( bsConfig . run_settings . config ) ;
You can’t perform that action at this time.
0 commit comments