diff --git a/packages/integration-sdk-runtime/src/logger/__tests__/index.test.ts b/packages/integration-sdk-runtime/src/logger/__tests__/index.test.ts index 8d42ff9d9..7b139d0c3 100644 --- a/packages/integration-sdk-runtime/src/logger/__tests__/index.test.ts +++ b/packages/integration-sdk-runtime/src/logger/__tests__/index.test.ts @@ -625,7 +625,7 @@ describe('publishMetric', () => { invocationConfig, }); - const infoSpy = jest.spyOn(logger, 'info'); + const debugSpy = jest.spyOn(logger, 'debug'); logger.publishMetric({ name: 'metric', @@ -633,8 +633,8 @@ describe('publishMetric', () => { unit: 'Milliseconds', }); - expect(infoSpy).toHaveBeenCalledTimes(1); - expect(infoSpy).toHaveBeenCalledWith( + expect(debugSpy).toHaveBeenCalledTimes(1); + expect(debugSpy).toHaveBeenCalledWith( { metric: { name: 'metric',