Sehrope Sarkuni eeb62ba40d test: Replace __dirname concatenations in require(...) with relative paths
Replaces __dirname concatentation in pg test scripts so that editors like
VS Code can automatically generate typings and support code navigation (F12).
2020-05-16 07:41:15 -04:00

22 lines
418 B
JavaScript

'use strict'
var pg = require('../../../lib')
var config = require('./test-helper').config
test('can connect with ssl', function () {
return false
config.ssl = {
rejectUnauthorized: false,
}
pg.connect(
config,
assert.success(function (client) {
return false
client.query(
'SELECT NOW()',
assert.success(function () {
pg.end()
})
)
})
)
})