Optimise Jest run in CI (#9542)
This commit is contained in:
parent
28ecdc0cb4
commit
04bc8fb71c
55 changed files with 1388 additions and 1305 deletions
|
@ -58,7 +58,7 @@ describe("<PinnedMessagesCard />", () => {
|
|||
const pins = () => [...localPins, ...nonLocalPins];
|
||||
|
||||
// Insert pin IDs into room state
|
||||
mocked(room.currentState).getStateEvents.mockImplementation(() => mkEvent({
|
||||
mocked(room.currentState).getStateEvents.mockImplementation((): any => mkEvent({
|
||||
event: true,
|
||||
type: EventType.RoomPinnedEvents,
|
||||
content: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue