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