mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
* Work on converting lib to standard * Finish updating lib * Finish linting lib * Format test files * Add .eslintrc with standard format * Supply full path to eslint bin * Move lint command to package.json * Add eslint as dev dependency
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()
|
|
}))
|
|
}))
|
|
})
|