mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
Merge pull request #2269 from brianc/bmc/add-integration-test
Add integration test for #2216
This commit is contained in:
commit
c22cc33a10
@ -0,0 +1,13 @@
|
||||
const helper = require('../test-helper')
|
||||
const suite = new helper.Suite()
|
||||
const { Client } = helper.pg
|
||||
|
||||
suite.test('it sends options', async () => {
|
||||
const client = new Client({
|
||||
options: '--default_transaction_isolation=serializable',
|
||||
})
|
||||
await client.connect()
|
||||
const { rows } = await client.query('SHOW default_transaction_isolation')
|
||||
console.log(rows)
|
||||
await client.end()
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user