You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-08-08 03:42:14 +03:00
Fix wrongly asserting that PushRule::conditions is non-null (#7973)
This commit is contained in:
committed by
GitHub
parent
b80ea34805
commit
15cbc6c26c
@@ -102,7 +102,7 @@ export function createTestClient() {
|
||||
sendStateEvent: jest.fn().mockResolvedValue(),
|
||||
getSyncState: () => "SYNCING",
|
||||
generateClientSecret: () => "t35tcl1Ent5ECr3T",
|
||||
isGuest: () => false,
|
||||
isGuest: jest.fn().mockReturnValue(false),
|
||||
isCryptoEnabled: () => false,
|
||||
getRoomHierarchy: jest.fn().mockReturnValue({
|
||||
rooms: [],
|
||||
|
Reference in New Issue
Block a user