diff --git a/spec/stores/draft-store-spec.es6 b/spec/stores/draft-store-spec.es6 index a711218dd..7e8183a0b 100644 --- a/spec/stores/draft-store-spec.es6 +++ b/spec/stores/draft-store-spec.es6 @@ -258,6 +258,7 @@ describe('DraftStore', function draftStore() { expect(callback).not.toHaveBeenCalled(); this.resolve(); advanceClock(1000); + advanceClock(1000); expect(callback).toHaveBeenCalled(); }); }); @@ -280,6 +281,7 @@ describe('DraftStore', function draftStore() { expect(DraftStore._onBeforeUnload(callback)).toBe(false); expect(callback).not.toHaveBeenCalled(); advanceClock(); + advanceClock(1000); expect(callback).toHaveBeenCalled(); }); });