mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 09:08:18 +00:00
Add MatrixClientPeg::safeGet and use it in tests (#10985)
This commit is contained in:
committed by
GitHub
parent
c47b587225
commit
6b46d6e4f8
+1
-1
@@ -33,7 +33,7 @@ describe("Unread", () => {
|
||||
// A different user.
|
||||
const aliceId = "@alice:server.org";
|
||||
stubClient();
|
||||
const client = MatrixClientPeg.get();
|
||||
const client = MatrixClientPeg.safeGet();
|
||||
|
||||
describe("eventTriggersUnreadCount()", () => {
|
||||
// setup events
|
||||
|
||||
Reference in New Issue
Block a user