mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-02 19:49:23 +00:00
fixup linter
This commit is contained in:
@@ -199,7 +199,7 @@ test("Supports download files as base64", async () => {
|
|||||||
"XzmnQI9P8QnwsO9vtqZlgIoU4g+f2/G8Q3/nVMX7dujniwEAAP//KmiQs7P8MeIAAAAASUVORK5C" +
|
"XzmnQI9P8QnwsO9vtqZlgIoU4g+f2/G8Q3/nVMX7dujniwEAAP//KmiQs7P8MeIAAAAASUVORK5C" +
|
||||||
"YII=";
|
"YII=";
|
||||||
const mockWidgetAPI = {
|
const mockWidgetAPI = {
|
||||||
downloadFile: vi.fn().mockImplementation((contentUri) => {
|
downloadFile: vi.fn().mockImplementation(async (contentUri) => {
|
||||||
if (contentUri !== expectedMXCUrl) {
|
if (contentUri !== expectedMXCUrl) {
|
||||||
return Promise.reject(new Error("Unexpected content URI"));
|
return Promise.reject(new Error("Unexpected content URI"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user