Browse Source

Remove excessive sleep now that we're not using chrome

pull/11869/head
Travis Ralston 2 years ago
parent
commit
3fb6b1ed63
  1. 3
      package.json
  2. 3
      test/app-tests/loading-test.js

3
package.json

@ -209,7 +209,6 @@
"transformIgnorePatterns": [
"/node_modules/(?!matrix-js-sdk).+$",
"/node_modules/(?!matrix-react-sdk).+$"
],
"testTimeout": 30000
]
}
}

3
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'),

Loading…
Cancel
Save