mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 11:15:53 +03:00
Stub out MatrixClient::isUserIgnored for tests
This commit is contained in:
parent
1437188282
commit
831c482371
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ export function createTestClient() {
|
|||
},
|
||||
},
|
||||
decryptEventIfNeeded: () => Promise.resolve(),
|
||||
isUserIgnored: jest.fn().mockReturnValue(false),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue