fix getCapabilities stub

pull/21833/head
Michael Telatynski 2021-07-06 10:34:50 +01:00
parent 3301763f12
commit 0ca4a958f7
1 changed files with 1 additions and 1 deletions

View File

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