Stub out MatrixClient::isUserIgnored for tests
This commit is contained in:
@@ -96,6 +96,7 @@ export function createTestClient() {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
decryptEventIfNeeded: () => Promise.resolve(),
|
decryptEventIfNeeded: () => Promise.resolve(),
|
||||||
|
isUserIgnored: jest.fn().mockReturnValue(false),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user