diff --git a/nym-wallet/.storybook/mocks/tauri/core.js b/nym-wallet/.storybook/mocks/tauri/core.js new file mode 100644 index 0000000000..2a81b7c205 --- /dev/null +++ b/nym-wallet/.storybook/mocks/tauri/core.js @@ -0,0 +1,8 @@ +/** + * This is a mock for Tauri's API package (@tauri-apps/api/app), to prevent stories from being excluded, because they either use + * or import dependencies that use Tauri. + */ + +module.exports = { + invoke: () => undefined, +} \ No newline at end of file diff --git a/nym-wallet/.storybook/mocks/tauri/image.js b/nym-wallet/.storybook/mocks/tauri/image.js new file mode 100644 index 0000000000..b3368e223a --- /dev/null +++ b/nym-wallet/.storybook/mocks/tauri/image.js @@ -0,0 +1,4 @@ +/** + * This is a mock for Tauri's API package (@tauri-apps/api/app), to prevent stories from being excluded, because they either use + * or import dependencies that use Tauri. + */ \ No newline at end of file diff --git a/nym-wallet/.storybook/mocks/tauri/window.js b/nym-wallet/.storybook/mocks/tauri/webviewWindow.js similarity index 100% rename from nym-wallet/.storybook/mocks/tauri/window.js rename to nym-wallet/.storybook/mocks/tauri/webviewWindow.js