1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

Tweak pill UI (#10417)

This commit is contained in:
Michael Weimann
2023-03-22 13:27:24 +01:00
committed by GitHub
parent 4c2b18c5d9
commit 3eb6a55b93
8 changed files with 177 additions and 54 deletions

View File

@@ -537,7 +537,7 @@ export function mkStubRoom(
} as unknown as RoomState,
eventShouldLiveIn: jest.fn().mockReturnValue({}),
fetchRoomThreads: jest.fn().mockReturnValue(Promise.resolve()),
findEventById: (_: string) => undefined as MatrixEvent | undefined,
findEventById: jest.fn().mockReturnValue(undefined),
findPredecessor: jest.fn().mockReturnValue({ roomId: "", eventId: null }),
getAccountData: (_: EventType | string) => undefined as MatrixEvent | undefined,
getAltAliases: jest.fn().mockReturnValue([]),