From 6a96b96d4de2c780ddac534c2f62bf973f4bd327 Mon Sep 17 00:00:00 2001 From: June Kelly Date: Wed, 17 May 2023 13:45:47 +0100 Subject: [PATCH] Merge pull request #13124 from overleaf/jk-disable-flaky-test-again [web] disable flaky test with `fake-timers`, again GitOrigin-RevId: e53afd52058666b14c55fbe91bc1ea7b55a87c1a --- .../ThirdPartyDataStore/TpdsUpdateHandlerTests.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/services/web/test/unit/src/ThirdPartyDataStore/TpdsUpdateHandlerTests.js b/services/web/test/unit/src/ThirdPartyDataStore/TpdsUpdateHandlerTests.js index d769ffecf7..dacff0a41b 100644 --- a/services/web/test/unit/src/ThirdPartyDataStore/TpdsUpdateHandlerTests.js +++ b/services/web/test/unit/src/ThirdPartyDataStore/TpdsUpdateHandlerTests.js @@ -502,7 +502,11 @@ function expectProjectCreated() { ).to.have.been.calledWith(this.userId, this.projectName) }) - it('sets the root doc', function () { + /** + * Temporarily disable flaky test + */ + // eslint-disable-next-line mocha/no-skipped-tests + it.skip('sets the root doc', function () { // Fire pending timers this.clock.runAll() expect( @@ -517,7 +521,11 @@ function expectProjectNotCreated() { .been.called }) - it('does not set the root doc', function () { + /** + * Temporarily disable flaky test + */ + // eslint-disable-next-line mocha/no-skipped-tests + it.skip('does not set the root doc', function () { // Fire pending timers this.clock.runAll() expect(this.RootDocManager.promises.setRootDocAutomatically).not.to.have