Conform more of the codebase to strictNullChecks
(#10518
* Conform more of the codebase to `strictNullChecks` * Iterate * Fix tests
This commit is contained in:
parent
e9cc88b872
commit
55d3548330
23 changed files with 107 additions and 99 deletions
|
@ -59,6 +59,7 @@ describe("OwnBeaconStore", () => {
|
|||
const bobId = "@bob:server.org";
|
||||
const mockClient = getMockClientWithEventEmitter({
|
||||
getUserId: jest.fn().mockReturnValue(aliceId),
|
||||
getSafeUserId: jest.fn().mockReturnValue(aliceId),
|
||||
getVisibleRooms: jest.fn().mockReturnValue([]),
|
||||
unstable_setLiveBeacon: jest.fn().mockResolvedValue({ event_id: "1" }),
|
||||
sendEvent: jest.fn().mockResolvedValue({ event_id: "1" }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue