Skip to content

Commit

Permalink
fix(api-observability): clear mocks in otel user test
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmasberg committed Feb 1, 2024
1 parent 78a6520 commit 5973650
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 5973650

Please sign in to comment.