diff --git a/services/web/test/unit/src/ThirdPartyDataStore/TpdsUpdateHandlerTests.js b/services/web/test/unit/src/ThirdPartyDataStore/TpdsUpdateHandlerTests.js index 8527e8c1ab..6e8ec0ef32 100644 --- a/services/web/test/unit/src/ThirdPartyDataStore/TpdsUpdateHandlerTests.js +++ b/services/web/test/unit/src/ThirdPartyDataStore/TpdsUpdateHandlerTests.js @@ -504,7 +504,7 @@ function expectProjectCreated() { it('sets the root doc', function () { // Fire pending timers - this.clock.next() + this.clock.runAll() expect( this.RootDocManager.promises.setRootDocAutomatically ).to.have.been.calledWith(this.projects.active1._id) @@ -519,7 +519,7 @@ function expectProjectNotCreated() { it('does not set the root doc', function () { // Fire pending timers - this.clock.next() + this.clock.runAll() expect(this.RootDocManager.promises.setRootDocAutomatically).not.to.have .been.called })