Reduce surface for test to break

This commit is contained in:
Cadence Ember 2024-01-19 12:48:07 +13:00
parent 235aee3fef
commit aa9c2cc0c7
2 changed files with 3 additions and 5 deletions

View file

@ -543,10 +543,6 @@ test("event2message: lists have appropriate line breaks", async t => {
room_id: '!cBxtVRxDlZvSVhJXVK:cadence.moe',
sender: '@Milan:tchncs.de',
type: 'm.room.message',
}, {}, {
api: {
getStateEvent: async () => ({displayname: "Milan"})
}
}),
{
ensureJoined: [],
@ -759,6 +755,7 @@ test("event2message: rich reply to a rich reply to a multi-line message should c
},
snow: {
guild: {
/* c8 ignore next 4 */
searchGuildMembers: (_, options) => {
t.fail(`should not search guild members, but actually searched for: ${options.query}`)
return []