Skip to content

Commit 1bc267d

Browse files
authored
chore(browser): Remove debug config from tests (#20600)
This lead to hard to read logs, as this enables the debugger which leaks into other tests as well etc.
1 parent 8fb1dc7 commit 1bc267d

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

packages/browser/test/profiling/UIProfiler.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,6 @@ describe('Browser Profiling v2 trace lifecycle', () => {
590590

591591
Sentry.init({
592592
...getBaseOptionsForTraceLifecycle(send),
593-
debug: true,
594593
});
595594

596595
Sentry.uiProfiler.startProfiler();
@@ -691,7 +690,6 @@ describe('Browser Profiling v2 manual lifecycle', () => {
691690

692691
Sentry.init({
693692
...getBaseOptionsForManualLifecycle(send),
694-
debug: true,
695693
});
696694

697695
Sentry.uiProfiler.startProfiler();

packages/browser/test/profiling/integration.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ describe('BrowserProfilingIntegration', () => {
6969
});
7070

7171
it("warns when profileLifecycle is 'trace' but tracing is disabled", async () => {
72-
debug.enable();
7372
const warnSpy = vi.spyOn(debug, 'warn').mockImplementation(() => {});
7473

7574
// @ts-expect-error mock constructor

0 commit comments

Comments
 (0)