|
@ -339,7 +339,8 @@ describe('Transaction', function() { |
|
|
// ...by this function, so ignore if that is the case
|
|
|
// ...by this function, so ignore if that is the case
|
|
|
if (err && err.constructor.name === "AssertionError") return; |
|
|
if (err && err.constructor.name === "AssertionError") return; |
|
|
|
|
|
|
|
|
should.exist(err); |
|
|
// There should either be an error, or the results should be false.
|
|
|
|
|
|
(err !== null || (!err && results === false)).should.equal(true); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|