fixup prettier

This commit is contained in:
Valere
2026-03-26 19:10:10 +01:00
parent 1eabb0f0aa
commit 421c49e7ba
+2 -3
View File
@@ -199,12 +199,11 @@ 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( downloadFile: vi.fn().mockImplementation((contentUri) => {
(contentUri) => {
if (contentUri !== expectedMXCUrl) { if (contentUri !== expectedMXCUrl) {
return Promise.reject(new Error("Unexpected content URI")); return Promise.reject(new Error("Unexpected content URI"));
} }
return {file: expectedBase64 } return { file: expectedBase64 };
}), }),
} as unknown as WidgetApi; } as unknown as WidgetApi;