only test for client configuration during pure-js tests
This commit is contained in:
parent
dc964a66c1
commit
1226ee2012
@ -1,4 +1,4 @@
|
||||
require(__dirname + '/test-helper');
|
||||
var helper = require(__dirname + '/test-helper');
|
||||
var pg = require("index");
|
||||
|
||||
test('default values', function() {
|
||||
@ -21,8 +21,8 @@ test('default values', function() {
|
||||
})
|
||||
})
|
||||
|
||||
test('modified values', function() {
|
||||
return false;
|
||||
if(!helper.args.native) {
|
||||
test('modified values', function() {
|
||||
pg.defaults.user = 'boom'
|
||||
pg.defaults.password = 'zap'
|
||||
pg.defaults.database = 'pow'
|
||||
@ -41,4 +41,6 @@ test('modified values', function() {
|
||||
host: 'blam'
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user