Skip to content

Commit 3cb4910

Browse files
committed
suppress warnings in test
1 parent ac9261b commit 3cb4910

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/browser/test/tracing/browserTracingIntegration.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ describe('browserTracingIntegration', () => {
7171
getIsolationScope().clear();
7272
getCurrentScope().setClient(undefined);
7373
document.head.innerHTML = '';
74+
75+
// We want to suppress the "Multiple browserTracingIntegration instances are not supported." warnings
76+
vi.spyOn(console, 'warn').mockImplementation(() => {});
7477
});
7578

7679
afterEach(() => {

0 commit comments

Comments
 (0)