Package-level declarations
Functions
Link copied to clipboard
Clears mocked functions/data injected by the other functions in this module. When using a test runner that doesn't provide a fresh window object for each test, calling this function will reset tauri specific properties.
Link copied to clipboard
Mock convertFileSrc function
Link copied to clipboard
external fun mockIPC(cb: (cmd: String, InvokeArgs?) -> Any?, options: MockIPCOptions = definedExternally)
Intercepts all IPC requests with the given mock handler.
Link copied to clipboard
Mocks one or many window labels. In non-tauri context it is required to call this function before using the @tauri-apps/api/window module.