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
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue