Merge pull request #2269 from brianc/bmc/add-integration-test

Add integration test for #2216
This commit is contained in:
Brian C 2020-07-08 13:37:59 -05:00 committed by GitHub
commit c22cc33a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
})