@@ -77,7 +77,7 @@ describe("Telemetry", () => {
7777 expect ( appendEvents . length ) . toBe ( appendEventsCalls ) ;
7878
7979 if ( sendEventsCalledWith ) {
80- const commonProps = await telemetry . getAsyncCommonProperties ( ) ;
80+ const commonProps = await telemetry . getCommonProperties ( ) ;
8181
8282 expect ( sendEvents [ 0 ] ?. [ 0 ] ) . toEqual (
8383 sendEventsCalledWith . map ( ( event ) => ( {
@@ -198,7 +198,7 @@ describe("Telemetry", () => {
198198 device_id : hashedMachineId ,
199199 } ;
200200
201- const commonProps = await telemetry . getAsyncCommonProperties ( ) ;
201+ const commonProps = await telemetry . getCommonProperties ( ) ;
202202
203203 expect ( commonProps ) . toMatchObject ( expectedProps ) ;
204204 } ) ;
@@ -221,7 +221,7 @@ describe("Telemetry", () => {
221221 } ) ;
222222
223223 expect ( telemetry . hasPendingPromises ( ) ) . toBe ( true ) ;
224- const commonProps = await telemetry . getAsyncCommonProperties ( ) ;
224+ const commonProps = await telemetry . getCommonProperties ( ) ;
225225 expect ( telemetry . hasPendingPromises ( ) ) . toBe ( false ) ;
226226 expect ( commonProps . device_id ) . toBe ( hashedMachineId ) ;
227227 } ) ;
@@ -235,7 +235,7 @@ describe("Telemetry", () => {
235235 } ) ;
236236
237237 expect ( telemetry . hasPendingPromises ( ) ) . toBe ( true ) ;
238- const commonProps = await telemetry . getAsyncCommonProperties ( ) ;
238+ const commonProps = await telemetry . getCommonProperties ( ) ;
239239 expect ( telemetry . hasPendingPromises ( ) ) . toBe ( false ) ;
240240 expect ( commonProps . device_id ) . toBe ( "unknown" ) ;
241241
@@ -256,7 +256,7 @@ describe("Telemetry", () => {
256256 } ) ;
257257 expect ( telemetry . hasPendingPromises ( ) ) . toBe ( true ) ;
258258 jest . advanceTimersByTime ( DEVICE_ID_TIMEOUT ) ;
259- const commonProps = await telemetry . getAsyncCommonProperties ( ) ;
259+ const commonProps = await telemetry . getCommonProperties ( ) ;
260260 expect ( commonProps . device_id ) . toBe ( "unknown" ) ;
261261 expect ( loggerSpy ) . toHaveBeenCalledWith (
262262 LogId . telemetryDeviceIdTimeout ,
0 commit comments