File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ module.exports = function run(args, rawArgs) {
154
154
// Hence whenever running on ATS, need to make local as false
155
155
bsConfig . connection_settings . local = false ;
156
156
157
- const gridDetails = await getTurboScaleGridDetails ( bsConfig ) ;
157
+ const gridDetails = await getTurboScaleGridDetails ( bsConfig , args , rawArgs ) ;
158
158
159
159
if ( gridDetails && Object . keys ( gridDetails ) . length > 0 ) {
160
160
Constants . turboScaleObj . gridDetails = gridDetails ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ exports.getTurboScaleGridName = (bsConfig) => {
38
38
return 'NO_GRID_NAME_PASSED' ;
39
39
} ;
40
40
41
- exports . getTurboScaleGridDetails = async ( bsConfig ) => {
41
+ exports . getTurboScaleGridDetails = async ( bsConfig , args , rawArgs ) => {
42
42
try {
43
43
const gridName = this . getTurboScaleGridName ( bsConfig ) ;
44
44
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ describe('#atsHelper', () => {
87
87
88
88
requestStub . yields ( null , { statusCode : 200 } , body ) ;
89
89
sendUsageReportStub . notCalled ;
90
- atsHelper . getTurboScaleGridDetails ( testObjects . sampleATSBsConfigWithOptions ) . then ( ( result ) => {
90
+ atsHelper . getTurboScaleGridDetails ( testObjects . sampleATSBsConfigWithOptions , { } , { } ) . then ( ( result ) => {
91
91
expect ( result ) . to . eq ( body ) ;
92
92
} )
93
93
} ) ;
@@ -104,7 +104,7 @@ describe('#atsHelper', () => {
104
104
} ;
105
105
106
106
requestStub . yields ( null , { statusCode : 422 } , body ) ;
107
- atsHelper . getTurboScaleGridDetails ( testObjects . sampleATSBsConfigWithOptions ) . then ( ( result ) => {
107
+ atsHelper . getTurboScaleGridDetails ( testObjects . sampleATSBsConfigWithOptions , { } , { } ) . then ( ( result ) => {
108
108
expect ( result ) . to . eq ( { } ) ;
109
109
expect ( sendUsageReportStub . calledOnce ) . to . be . true ;
110
110
} )
You can’t perform that action at this time.
0 commit comments