[CI] We need to wait until Mjölnir's start is complete before proceeding with tests.

Hopefully, this should fix the (latest) race conditions we've been seeing during CI.
This commit is contained in:
David Teller 2022-01-24 15:53:39 +01:00 committed by David Teller
parent 13032413b2
commit baa9129fa5

View File

@ -13,7 +13,7 @@ export const mochaHooks = {
this.managementRoomAlias = config.managementRoom;
this.mjolnir = await makeMjolnir();
config.RUNTIME.client = this.mjolnir.client;
this.mjolnir.start();
await this.mjolnir.start();
console.log("mochaHooks.beforeEach DONE");
}
],