stub getCapabilities in tests

pull/21833/head
Michael Telatynski 2021-07-06 10:19:33 +01:00
parent 64d1d169cf
commit 3301763f12
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ export function createTestClient() {
},
},
decryptEventIfNeeded: () => Promise.resolve(),
getCapabilities: jest.fn().mockReturnValue({}),
};
}