Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwalsh0 committed Sep 18, 2024
1 parent 24fe544 commit 934edcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/scripts/lib/createTracingMiddleware.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ describe('createTracingMiddleware', () => {

request = { ...REQUEST_MOCK };

global.sentry = {
getMetaMetricsEnabled: () => Promise.resolve(true),
globalThis.sentry = {
withIsolationScope: jest.fn().mockReturnValue({}),
};
});

Expand Down
2 changes: 1 addition & 1 deletion app/scripts/lib/createTracingMiddleware.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Request and repsones are currently untyped.
// Request and repsonses are currently untyped.
/* eslint-disable @typescript-eslint/no-explicit-any */

import { MESSAGE_TYPE } from '../../../shared/constants/app';
Expand Down

0 comments on commit 934edcc

Please sign in to comment.