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) => {
13061306 }
13071307 // set specs in config of specpattern to override cypress config
13081308 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 + '"' ;
13101310 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 + '"' ;
13121312 }
13131313 config_args = this . isUndefined ( config_args ) ? spec_pattern_args : config_args + ',' + spec_pattern_args ;
13141314 }
Original file line number Diff line number Diff line change @@ -3071,7 +3071,7 @@ describe('utils', () => {
30713071 run_settings : { specs : 'somerandomspecs' , cypressTestSuiteType : 'CYPRESS_V10_AND_ABOVE_TYPE' } ,
30723072 } ;
30733073 let args = {
3074- config : " video=false,videoUploadOnPasses=false,specPattern=' somerandomspecs'"
3074+ config : ' video=false,videoUploadOnPasses=false,specPattern=" somerandomspecs"'
30753075 }
30763076 utils . setEnforceSettingsConfig ( bsConfig ) ;
30773077 expect ( args . config ) . to . be . eql ( bsConfig . run_settings . config ) ;
@@ -3081,7 +3081,7 @@ describe('utils', () => {
30813081 run_settings : { specs : 'somerandomspecs' , cypressTestSuiteType : 'CYPRESS_V9_AND_OLDER_TYPE' } ,
30823082 } ;
30833083 let args = {
3084- config : " video=false,videoUploadOnPasses=false,testFiles=' somerandomspecs'"
3084+ config : ' video=false,videoUploadOnPasses=false,testFiles=" somerandomspecs"'
30853085 }
30863086 utils . setEnforceSettingsConfig ( bsConfig ) ;
30873087 expect ( args . config ) . to . be . eql ( bsConfig . run_settings . config ) ;
You can’t perform that action at this time.
0 commit comments