fix: native command arg menus follow-ups (#936) (thanks @thewilloftheshadow)

This commit is contained in:
Peter Steinberger committed 2026-01-15 09:33:31 +00:00
1 parent 74bc5bfd7c
commit 52f876bfbc
8 files changed
+246 -15

No files matched your search

+18
View File
@@ -1,5 +1,23 @@
import { beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
vi.mock("matrix-js-sdk", () => ({
EventType: {
Direct: "m.direct",
RoomMessage: "m.room.message",
Reaction: "m.reaction",
},
MsgType: {
Text: "m.text",
File: "m.file",
Image: "m.image",
Audio: "m.audio",
Video: "m.video",
},
RelationType: {
Annotation: "m.annotation",
},
}));
vi.mock("../../../../src/config/config.js", () => ({
loadConfig: () => ({}),
}));