tweak replaceRoomIdsWithPills test to offer more than one id

This commit is contained in:
jesopo 2022-08-10 15:57:39 +00:00
parent 2136ef6ea5
commit 1c318b4e85

View File

@ -20,7 +20,7 @@ describe("Test: utils", function() {
const out = await replaceRoomIdsWithPills(
this.mjolnir,
`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;