mirror of https://github.com/vector-im/riot-web
stub getCapabilities in tests
parent
64d1d169cf
commit
3301763f12
|
@ -96,6 +96,7 @@ export function createTestClient() {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
decryptEventIfNeeded: () => Promise.resolve(),
|
decryptEventIfNeeded: () => Promise.resolve(),
|
||||||
|
getCapabilities: jest.fn().mockReturnValue({}),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue