mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
* First crack at monorepo * Update test command * Update path to script * Remove node 6 from CI
16 lines
391 B
JavaScript
16 lines
391 B
JavaScript
'use strict'
|
|
var pg = require(__dirname + '/../../../lib')
|
|
var config = require(__dirname + '/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()
|
|
}))
|
|
}))
|
|
})
|