Skip to content

Commit 8a911b7

Browse files
Update packages/web/tests/stream.test.ts
Co-authored-by: Copilot <[email protected]>
1 parent 828fae9 commit 8a911b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/web/tests/stream.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,7 @@ function describeStreamingTests(createConnectedDatabase: () => Promise<Connected
216216
{ timeout: 2000, interval: 100 }
217217
);
218218

219-
console.log(`Generated stream a total of ${spy.mock.calls.length} times`);
220-
expect(spy.mock.calls.length).lessThanOrEqual(2 * connectionAttempts);
219+
expect(spy.mock.calls.length, `Expected generated streams to be less than or equal to ${2 * connectionAttempts}, but got ${spy.mock.calls.length}`).lessThanOrEqual(2 * connectionAttempts);
221220

222221
// The last request should make a network request with the client params
223222
await vi.waitFor(

0 commit comments

Comments
 (0)