forked from matrix/element-web
Remove excessive sleep now that we're not using chrome
This commit is contained in:
parent
5cd54e9f6d
commit
3fb6b1ed63
|
@ -209,7 +209,6 @@
|
||||||
"transformIgnorePatterns": [
|
"transformIgnorePatterns": [
|
||||||
"/node_modules/(?!matrix-js-sdk).+$",
|
"/node_modules/(?!matrix-js-sdk).+$",
|
||||||
"/node_modules/(?!matrix-react-sdk).+$"
|
"/node_modules/(?!matrix-react-sdk).+$"
|
||||||
],
|
]
|
||||||
"testTimeout": 30000
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,9 +80,6 @@ describe('loading:', function() {
|
||||||
// unmounting should have cleared the MatrixClientPeg
|
// unmounting should have cleared the MatrixClientPeg
|
||||||
expect(MatrixClientPeg.get()).toBe(null);
|
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.
|
// clear the indexeddbs so we can start from a clean slate next time.
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
test_utils.deleteIndexedDB('matrix-js-sdk:crypto'),
|
test_utils.deleteIndexedDB('matrix-js-sdk:crypto'),
|
||||||
|
|
Loading…
Reference in New Issue