Skip to content

Commit e68583a

Browse files
author
Kerry
authored
Test: don't unmount MatrixChat before setup is finished (#25783)
1 parent 48044f3 commit e68583a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/app-tests/loading-test.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,11 @@ describe("loading:", function () {
592592

593593
return tokenLoginCompletePromise;
594594
})
595+
.then(() => {
596+
return expectAndAwaitSync().catch((e) => {
597+
throw new Error("Never got /sync after login: did the client start?");
598+
});
599+
})
595600
.then(() => {
596601
// check that the localstorage has been set up in such a way that
597602
// the reloaded app can pick up where we leave off.

0 commit comments

Comments
 (0)