mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #3242 from vector-im/kegan/fix-tests-for-indexeddb
Fix broken tests caused by adding IndexedDB support
This commit is contained in:
commit
5c2049935a
@ -95,7 +95,10 @@ describe('joining a room', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
var roomView;
|
var roomView;
|
||||||
httpBackend.flush().then(() => {
|
// wait for /sync to happen
|
||||||
|
return q.delay(1).then(() => {
|
||||||
|
return httpBackend.flush();
|
||||||
|
}).then(() => {
|
||||||
var roomDir = ReactTestUtils.findRenderedComponentWithType(
|
var roomDir = ReactTestUtils.findRenderedComponentWithType(
|
||||||
matrixChat, RoomDirectory);
|
matrixChat, RoomDirectory);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user