Skip to content

Commit c22cc33

Browse files
authored
Merge pull request #2269 from brianc/bmc/add-integration-test
Add integration test for #2216
2 parents da5d4ef + 3360697 commit c22cc33

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
const helper = require('../test-helper')
2+
const suite = new helper.Suite()
3+
const { Client } = helper.pg
4+
5+
suite.test('it sends options', async () => {
6+
const client = new Client({
7+
options: '--default_transaction_isolation=serializable',
8+
})
9+
await client.connect()
10+
const { rows } = await client.query('SHOW default_transaction_isolation')
11+
console.log(rows)
12+
await client.end()
13+
})

0 commit comments

Comments
 (0)