From a0224229ef5adf3b64f349e65ce03660e173ac6b Mon Sep 17 00:00:00 2001 From: Federico Abella <65520926+FedeAbella@users.noreply.github.com> Date: Sat, 1 Nov 2025 21:32:53 -0300 Subject: [PATCH] feat: create stub for fileDownload Create missing stub for lightning/fileDownload. Tackles #447 --- src/lightning-stubs/fileDownload/fileDownload.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/lightning-stubs/fileDownload/fileDownload.js diff --git a/src/lightning-stubs/fileDownload/fileDownload.js b/src/lightning-stubs/fileDownload/fileDownload.js new file mode 100644 index 0000000..88dbd95 --- /dev/null +++ b/src/lightning-stubs/fileDownload/fileDownload.js @@ -0,0 +1,8 @@ +/* + * Copyright (c) 2025, salesforce.com, inc. + * All rights reserved. + * SPDX-License-Identifier: MIT + * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT + */ + +export const generateUrl = jest.fn().mockResolvedValue('');