mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
yarn lint
This commit is contained in:
parent
d15b1229ee
commit
14c97d3b5d
@ -79,7 +79,7 @@ export type RegistrationOptions = {
|
||||
/**
|
||||
* Register a new test user.
|
||||
*
|
||||
* @returns A string that is both the username and password of a new user.
|
||||
* @returns A string that is both the username and password of a new user.
|
||||
*/
|
||||
async function registerNewTestUser(options: RegistrationOptions) {
|
||||
do {
|
||||
|
@ -82,10 +82,10 @@ export async function makeMjolnir(): Promise<Mjolnir> {
|
||||
await overrideRatelimitForUser(await client.getUserId());
|
||||
patchMatrixClient();
|
||||
await ensureAliasedRoomExists(client, config.managementRoom);
|
||||
let mjolnir = await Mjolnir.setupMjolnirFromConfig(client);
|
||||
let mj = await Mjolnir.setupMjolnirFromConfig(client);
|
||||
globalClient = client;
|
||||
globalMjolnir = mjolnir;
|
||||
return mjolnir;
|
||||
globalMjolnir = mj;
|
||||
return mj;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user