We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 670655b commit e945863Copy full SHA for e945863
1 file changed
packages/node-core/test/integrations/console.test.ts
@@ -25,7 +25,7 @@ describe('consoleIntegration in Lambda (patchWithDefineProperty)', () => {
25
it('calls registered handler when console.log is called', () => {
26
const handler = vi.fn();
27
// Setup the integration so it calls maybeInstrument with the Lambda strategy
28
- consoleIntegration().setup?.({ on: vi.fn() } as any);
+ consoleIntegration().setup?.({ on: vi.fn(), registerCleanup: vi.fn() } as any);
29
30
addConsoleInstrumentationHandler(handler);
31
0 commit comments