Test: don't unmount `MatrixChat` before setup is finished (#25783)

pull/25813/head
Kerry 2023-07-17 08:50:13 +12:00 revīziju iesūtīja GitHub
vecāks 48044f3847
revīzija e68583a6e2
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām

Parādīt failu

@ -592,6 +592,11 @@ describe("loading:", function () {
return tokenLoginCompletePromise;
})
.then(() => {
return expectAndAwaitSync().catch((e) => {
throw new Error("Never got /sync after login: did the client start?");
});
})
.then(() => {
// check that the localstorage has been set up in such a way that
// the reloaded app can pick up where we leave off.