mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
make tests for native always test native
This commit is contained in:
parent
94f670590f
commit
a69928ee46
@ -1,7 +1,9 @@
|
||||
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').Client;
|
||||
helper.pg = helper.pg.native;
|
||||
}
|
||||
//export parent helper stuffs
|
||||
module.exports = helper;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user