Skip to content

Commit

Permalink
reduce log noise
Browse files Browse the repository at this point in the history
  • Loading branch information
turbocrime committed Mar 4, 2025
1 parent 7e73569 commit 0646432
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/transport-chrome/src/with-dom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
});

Expand Down Expand Up @@ -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);
});

Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 0646432

Please sign in to comment.