mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
tweak replaceRoomIdsWithPills test to offer more than one id
This commit is contained in:
parent
2136ef6ea5
commit
1c318b4e85
@ -20,7 +20,7 @@ describe("Test: utils", function() {
|
|||||||
const out = await replaceRoomIdsWithPills(
|
const out = await replaceRoomIdsWithPills(
|
||||||
this.mjolnir,
|
this.mjolnir,
|
||||||
`it's fun here in ${this.mjolnir.managementRoomId}`,
|
`it's fun here in ${this.mjolnir.managementRoomId}`,
|
||||||
new Set([this.mjolnir.managementRoomId])
|
new Set([this.mjolnir.managementRoomId, "!myfaketestid:example.com"])
|
||||||
);
|
);
|
||||||
|
|
||||||
const ourHomeserver = new UserID(await this.mjolnir.client.getUserId()).domain;
|
const ourHomeserver = new UserID(await this.mjolnir.client.getUserId()).domain;
|
||||||
|
Loading…
Reference in New Issue
Block a user