We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3eeecb commit d80d883Copy full SHA for d80d883
1 file changed
packages/pg/test/integration/client/ssl-tests.js
@@ -3,7 +3,7 @@ const helper = require('./test-helper')
3
const assert = require('assert')
4
const suite = new helper.Suite()
5
6
-suite.test('can connect with ssl', function () {
+suite.test('can connect with ssl', function (done) {
7
const config = {
8
...helper.config,
9
ssl: {
@@ -16,7 +16,7 @@ suite.test('can connect with ssl', function () {
16
client.query(
17
'SELECT NOW()',
18
assert.success(function () {
19
- client.end()
+ client.end(done)
20
})
21
)
22
0 commit comments