File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -420,7 +420,8 @@ class Backendless {
420420 /** @deprecated */
421421 get applicationId ( ) {
422422 // eslint-disable-next-line no-console
423- console . warn ( 'getter/setter for Backendless.applicationId is deprecated, instead use Backendless.appId' )
423+ // temporary comment it because it breaks JS-CodeRunner version less than 6.3.0
424+ // console.warn('getter/setter for Backendless.applicationId is deprecated, instead use Backendless.appId')
424425
425426 return this . appId
426427 }
Original file line number Diff line number Diff line change @@ -378,12 +378,11 @@ describe('Namespace', function() {
378378 const appIdWarnMsg = 'getter/setter for Backendless.applicationId is deprecated, instead use Backendless.appId'
379379 const apiKeyWarnMsg = 'getter/setter for Backendless.secretKey is deprecated, instead use Backendless.apiKey'
380380
381- expect ( spyConsoleWarn ) . to . have . been . called . exactly ( 4 )
381+ expect ( spyConsoleWarn ) . to . have . been . called . exactly ( 3 )
382382
383- expect ( spyConsoleWarn ) . on . nth ( 1 ) . be . called . with ( appIdWarnMsg )
384- expect ( spyConsoleWarn ) . on . nth ( 2 ) . be . called . with ( apiKeyWarnMsg )
385- expect ( spyConsoleWarn ) . on . nth ( 3 ) . be . called . with ( appIdWarnMsg )
386- expect ( spyConsoleWarn ) . on . nth ( 4 ) . be . called . with ( apiKeyWarnMsg )
383+ expect ( spyConsoleWarn ) . on . nth ( 1 ) . be . called . with ( apiKeyWarnMsg )
384+ expect ( spyConsoleWarn ) . on . nth ( 2 ) . be . called . with ( appIdWarnMsg )
385+ expect ( spyConsoleWarn ) . on . nth ( 3 ) . be . called . with ( apiKeyWarnMsg )
387386
388387 // eslint-disable-next-line no-console
389388 console . warn = _nativeConsoleWarn
You can’t perform that action at this time.
0 commit comments