Code coverage test run: Fix broken test

This test failed only under code coverage runs - because start up of the
page too took long!

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-07-03 15:16:52 -07:00
parent 5c990d2a35
commit c10e1b4ad0

View file

@ -189,8 +189,9 @@ describe("SignalProtocolStore", function() {
record.save({ firstUse: false }).then(function() { done(); });
});
describe('If nonblocking approval is required', function() {
var now = Date.now();
var now;
before(function(done) {
now = Date.now();
record.save({ timestamp: now }).then(function() { done(); });
});
it('sets non-blocking approval', function(done) {