f698ed4459
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;
|