Skip to content

Commit 75d1d7d

Browse files
committed
Remove log
1 parent a10a151 commit 75d1d7d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages/pg-query-stream/test

packages/pg-query-stream/test/pool.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ describe('pool', function () {
77
const pool = new Pool()
88
const query = new QueryStream('SELECT * FROM generate_series(0, 10) num', [])
99
const q = pool.query(query)
10-
console.log(q) // Promise { <pending>, ...
1110
query.on('data', (row) => {
1211
// just consume the whole stream
1312
})
14-
await q //!
13+
await q
1514
query.on('end', () => {
1615
pool.end()
1716
})

0 commit comments

Comments
 (0)