From 3fb6b1ed63e3917f82d635a5f864d75cec5ac01e Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 15 Jan 2020 15:31:08 -0700 Subject: [PATCH] Remove excessive sleep now that we're not using chrome --- package.json | 3 +-- test/app-tests/loading-test.js | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index 9890cfbb..078fb741 100644 --- a/package.json +++ b/package.json @@ -209,7 +209,6 @@ "transformIgnorePatterns": [ "/node_modules/(?!matrix-js-sdk).+$", "/node_modules/(?!matrix-react-sdk).+$" - ], - "testTimeout": 30000 + ] } } diff --git a/test/app-tests/loading-test.js b/test/app-tests/loading-test.js index fd4d3970..9a97c4d8 100644 --- a/test/app-tests/loading-test.js +++ b/test/app-tests/loading-test.js @@ -80,9 +80,6 @@ describe('loading:', function() { // unmounting should have cleared the MatrixClientPeg expect(MatrixClientPeg.get()).toBe(null); - // chrome seems to take *ages* to delete the indexeddbs. - await sleep(10000); - // clear the indexeddbs so we can start from a clean slate next time. await Promise.all([ test_utils.deleteIndexedDB('matrix-js-sdk:crypto'),