diff --git a/libs/api/observability/src/lib/interceptors/sentry-otel-user-context.interceptor.spec.ts b/libs/api/observability/src/lib/interceptors/sentry-otel-user-context.interceptor.spec.ts index 4b9ea871..73ec02a0 100644 --- a/libs/api/observability/src/lib/interceptors/sentry-otel-user-context.interceptor.spec.ts +++ b/libs/api/observability/src/lib/interceptors/sentry-otel-user-context.interceptor.spec.ts @@ -17,6 +17,10 @@ describe('SentryOTelUserContextInterceptor', () => { interceptor = new SentryOTelUserContextInterceptor(); }); + afterEach(() => { + jest.clearAllMocks(); + }); + it('should set user context and attributes for Sentry and OpenTelemetry', async () => { const user: AuthUser = { id: '123',