mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
instead of the connection string use the config dict in all tests to be able to specify things like binary mode
11 lines
228 B
JavaScript
11 lines
228 B
JavaScript
var helper = require(__dirname+'/../test-helper');
|
|
|
|
//creates a client from cli parameters
|
|
helper.client = function() {
|
|
var client = new Client(helper.config);
|
|
client.connect();
|
|
return client;
|
|
};
|
|
|
|
module.exports = helper;
|