Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 831c482

Browse files
committed
Stub out MatrixClient::isUserIgnored for tests
1 parent 1437188 commit 831c482

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test-utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export function createTestClient() {
9696
},
9797
},
9898
decryptEventIfNeeded: () => Promise.resolve(),
99+
isUserIgnored: jest.fn().mockReturnValue(false),
99100
};
100101
}
101102

0 commit comments

Comments
 (0)