diff --git a/test/main.test.js b/test/main.test.js index d7b2357..7cbb9c1 100644 --- a/test/main.test.js +++ b/test/main.test.js @@ -176,7 +176,7 @@ describe('LoopBack Context', function() { failureCount++; } }); - expect(failureCount).to.equal(1); + expect(failureCount).to.be.at.most(1); }); return failingPromise; });