Skip to content

Commit c131eeb

Browse files
committed
Tries to fix travis error
Uncaught TypeError: Cannot read property 'not' of undefined at /home/travis/build/dresende/node-orm2/test/support/spec_helper.js:34:10
1 parent 52f8699 commit c131eeb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/support/spec_helper.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ module.exports.dropSync = function (models, done) {
2828
});
2929
}, function (err) {
3030
if (common.protocol() != 'sqlite') {
31-
if (err) {
32-
console.trace(err);
33-
}
34-
should.not.exist(err);
31+
should.eql(err, null);
3532
}
3633
done(err);
3734
});

0 commit comments

Comments
 (0)