From 06464328f609d6f89ac59f1a755cf9c8c36fbbbc Mon Sep 17 00:00:00 2001 From: turbocrime Date: Mon, 3 Mar 2025 21:05:34 -0800 Subject: [PATCH] reduce log noise --- packages/transport-chrome/src/with-dom.test.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/transport-chrome/src/with-dom.test.ts b/packages/transport-chrome/src/with-dom.test.ts index 049739760..e7601be41 100644 --- a/packages/transport-chrome/src/with-dom.test.ts +++ b/packages/transport-chrome/src/with-dom.test.ts @@ -192,10 +192,9 @@ describe('session client with transport-dom', () => { expect(streamPort.onMessage.dispatch).toHaveBeenCalled(); const response = await streamRequest; - console.log('response.message', response.message); for await (const chunk of response.message) { - console.log('chunk', chunk); + expect(chunk).toBeDefined(); } }); @@ -229,7 +228,6 @@ describe('session client with transport-dom', () => { const requestChannel = mockedChannel2.connect({ name: channel }); requestChannel.onMessage.addListener(m => { - console.log('bidi request chunk', m); streamRequestCollected.push(m); }); @@ -389,7 +387,6 @@ describe('session client with transport-dom', () => { const streamChannel = nameConnection('test', ChannelLabel.STREAM); extOnConnect.mockImplementationOnce((sub: chrome.runtime.Port) => { - console.log('extOnConnect', streamChannel); if (sub.name === streamChannel) { void (async () => { const stream = new ReadableStream({