Skip to content

Commit

Permalink
Merge pull request #2269 from brianc/bmc/add-integration-test
Browse files Browse the repository at this point in the history
Add integration test for #2216
  • Loading branch information
brianc committed Jul 8, 2020
2 parents da5d4ef + 3360697 commit c22cc33
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/pg/test/integration/client/connection-parameter-tests.js
@@ -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()
})

0 comments on commit c22cc33

Please sign in to comment.