stub getCapabilities in tests

This commit is contained in:
Michael Telatynski 2021-07-06 10:19:33 +01:00
parent 64d1d169cf
commit 3301763f12

View file

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