From 63f34d616497338079fee7498b7fba7077179dc0 Mon Sep 17 00:00:00 2001 From: Francesco Gringl-Novy Date: Wed, 29 Apr 2026 14:23:14 +0200 Subject: [PATCH] chore(browser): Remove debug config from tests This lead to hard to read logs, as this enables the debugger which leaks into other tests as well etc. --- packages/browser/test/profiling/UIProfiler.test.ts | 2 -- packages/browser/test/profiling/integration.test.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/packages/browser/test/profiling/UIProfiler.test.ts b/packages/browser/test/profiling/UIProfiler.test.ts index b64ee35fc50e..456c5c222b22 100644 --- a/packages/browser/test/profiling/UIProfiler.test.ts +++ b/packages/browser/test/profiling/UIProfiler.test.ts @@ -590,7 +590,6 @@ describe('Browser Profiling v2 trace lifecycle', () => { Sentry.init({ ...getBaseOptionsForTraceLifecycle(send), - debug: true, }); Sentry.uiProfiler.startProfiler(); @@ -691,7 +690,6 @@ describe('Browser Profiling v2 manual lifecycle', () => { Sentry.init({ ...getBaseOptionsForManualLifecycle(send), - debug: true, }); Sentry.uiProfiler.startProfiler(); diff --git a/packages/browser/test/profiling/integration.test.ts b/packages/browser/test/profiling/integration.test.ts index f9d97230701c..a08db412ccec 100644 --- a/packages/browser/test/profiling/integration.test.ts +++ b/packages/browser/test/profiling/integration.test.ts @@ -69,7 +69,6 @@ describe('BrowserProfilingIntegration', () => { }); it("warns when profileLifecycle is 'trace' but tracing is disabled", async () => { - debug.enable(); const warnSpy = vi.spyOn(debug, 'warn').mockImplementation(() => {}); // @ts-expect-error mock constructor