node-postgres/test/integration/test-helper.js

11 lines
280 B
JavaScript
Raw Normal View History

2010-10-25 14:30:14 +08:00
var helper = require(__dirname + '/../test-helper');
//TODO would this be better served set at ../test-helper?
if(helper.args.native) {
Client = require(__dirname + '/../../lib/native');
helper.pg = helper.pg.native;
}
2010-10-25 14:30:14 +08:00
//export parent helper stuffs
2010-12-14 07:21:09 +08:00
module.exports = helper;