mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
Fix lint (#3262)
This commit is contained in:
parent
9baa56eaa2
commit
3e4d545c20
@ -106,7 +106,7 @@ suite.test('query with timeout on query basis', (cb) => {
|
||||
const pool = new pg.Pool()
|
||||
pool.connect().then((client) => {
|
||||
client.query(
|
||||
{text: 'SELECT pg_sleep(20)', query_timeout: 1000},
|
||||
{ text: 'SELECT pg_sleep(20)', query_timeout: 1000 },
|
||||
assert.calls(function (err, result) {
|
||||
assert(err)
|
||||
assert(err.message === 'Query read timeout')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user