Implement the speedbump

This commit is contained in:
Cadence Ember 2024-01-20 01:01:34 +13:00
parent 5ef5dbb2e8
commit e49dc18e67
9 changed files with 90 additions and 13 deletions

View file

@ -581,10 +581,6 @@ test("event2message: ordered list start attribute works", async t => {
room_id: '!cBxtVRxDlZvSVhJXVK:cadence.moe',
sender: '@Milan:tchncs.de',
type: 'm.room.message',
}, {}, {
api: {
getStateEvent: async () => ({displayname: "Milan"})
}
}),
{
ensureJoined: [],
@ -2194,7 +2190,7 @@ test("event2message: mentioning events falls back to original link when the chan
}
}, {}, {
api: {
/* c8 skip next 3 */
/* c8 ignore next 3 */
async getEvent() {
t.fail("getEvent should not be called because it should quit early due to no channel-guild")
}