Skip to content

Commit

Permalink
Add missing mock...
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Dec 19, 2024
1 parent 618557c commit 90be549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test-utils/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export function createTestClient(): MatrixClient {
},
}),
isCrossSigningReady: jest.fn().mockResolvedValue(false),
checkKeyBackupAndEnable: jest.fn().mockResolvedValue(null),
}),

Check failure on line 153 in test/test-utils/test-utils.ts

View workflow job for this annotation

GitHub Actions / Typescript Syntax Check

An object literal cannot have multiple properties with the same name.

getPushActionsForEvent: jest.fn(),
Expand Down

0 comments on commit 90be549

Please sign in to comment.