Skip to content

Commit e945863

Browse files
committed
fixup! feat(core): clear up integrations on dispose
1 parent 670655b commit e945863

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/node-core/test/integrations/console.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe('consoleIntegration in Lambda (patchWithDefineProperty)', () => {
2525
it('calls registered handler when console.log is called', () => {
2626
const handler = vi.fn();
2727
// Setup the integration so it calls maybeInstrument with the Lambda strategy
28-
consoleIntegration().setup?.({ on: vi.fn() } as any);
28+
consoleIntegration().setup?.({ on: vi.fn(), registerCleanup: vi.fn() } as any);
2929

3030
addConsoleInstrumentationHandler(handler);
3131

0 commit comments

Comments
 (0)