Skip to content

Commit 892efef

Browse files
committed
Fix test
1 parent a8435f6 commit 892efef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/client/query-as-promise-tests.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ var helper = require(__dirname + '/../test-helper');
22
var pg = helper.pg;
33

44
process.on('unhandledRejection', function(e) {
5-
//console.error(e, e.stack)
6-
//process.exit(1)
5+
console.error(e, e.stack)
6+
process.exit(1)
77
})
88

99
pg.connect(helper.config, assert.success(function(client, done) {
@@ -15,7 +15,7 @@ pg.connect(helper.config, assert.success(function(client, done) {
1515
.then(function(client) {
1616
client.query('ALKJSDF')
1717
.catch(function(e) {
18-
assert(e instanceof error)
18+
assert(e instanceof Error)
1919
})
2020
})
2121

0 commit comments

Comments
 (0)