@@ -146,7 +146,7 @@ describe("utils", () => {
146146 // Ensure that the fetchUri call rejects with the expected reason
147147 await expect ( responsePromise ) . rejects . toBe ( expectedErrorReason ) ;
148148 expect ( promiseRejectCount ) . toEqual ( 1 ) ;
149- expect ( mockOnReturn ) . toHaveBeenCalledWith ( "error" , expect . any ( Function ) ) ;
149+ expect ( mockOnReturn ) . toHaveBeenCalledWith ( "error" , expect . any ( Function ) ) ;
150150 } ) ;
151151
152152 it ( "rejects 'statusCode' errors correctly" , async ( ) => {
@@ -321,7 +321,7 @@ describe("utils", () => {
321321 expect ( useHttps ) . toBe ( expected . useHttps ) ;
322322 expect ( defaultUrl ) . toBe ( expected . defaultUrl ) ;
323323 expect ( userDataDir ) . toBe ( expected . userDataDir ) ;
324- expect ( vscodeMock . workspace . getConfiguration ) . toHaveBeenCalledWith ( utils . SETTINGS_STORE_NAME ) ;
324+ expect ( vscodeMock . workspace . getConfiguration ) . toHaveBeenCalledWith ( utils . SETTINGS_STORE_NAME ) ;
325325 } ) ;
326326
327327 it ( "uses user config" , async ( ) => {
@@ -1013,7 +1013,7 @@ describe("utils", () => {
10131013
10141014 for ( let i = 0 ; i < input . length ; i ++ ) {
10151015 utils . reportUrlType ( input [ i ] , reporter ) ;
1016- expect ( reporter . sendTelemetryEvent ) . toHaveBeenCalledWith ( 'user/browserNavigation' , { 'urlType' : expected [ i ] } ) ;
1016+ expect ( reporter . sendTelemetryEvent ) . toHaveBeenCalledWith ( 'user/browserNavigation' , { 'urlType' : expected [ i ] } ) ;
10171017 }
10181018 } ) ;
10191019 } ) ;
@@ -1022,7 +1022,7 @@ describe("utils", () => {
10221022 it ( 'correctly lists extension types in the workspace' , async ( ) => {
10231023 const reporter = createFakeTelemetryReporter ( ) ;
10241024 await utils . reportFileExtensionTypes ( reporter ) ;
1025- expect ( reporter . sendTelemetryEvent ) . toHaveBeenCalledWith ( 'workspace/metadata' , undefined , { "css" : 1 , "html" : 0 , "js" : 1 , "json" : 1 , "jsx" : 1 , "mjs" : 0 , "other" : 0 , "scss" : 0 , "total" : 4 , "ts" : 0 } ) ;
1025+ expect ( reporter . sendTelemetryEvent ) . toHaveBeenCalledWith ( 'workspace/metadata' , undefined , { "css" : 1 , "html" : 0 , "js" : 1 , "json" : 1 , "jsx" : 1 , "mjs" : 0 , "other" : 0 , "scss" : 0 , "total" : 4 , "ts" : 0 } ) ;
10261026 } ) ;
10271027 } ) ;
10281028
0 commit comments