Stub out MatrixClient::isUserIgnored for tests
parent
1437188282
commit
831c482371
|
@ -96,6 +96,7 @@ export function createTestClient() {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
decryptEventIfNeeded: () => Promise.resolve(),
|
decryptEventIfNeeded: () => Promise.resolve(),
|
||||||
|
isUserIgnored: jest.fn().mockReturnValue(false),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue