Function tauri_sys::mocks::mock_window
source ยท pub fn mock_window(current: &str)
Expand description
Mocks the current window label
In non-tauri context it is required to call this function///before* using the @tauri-apps/api/window
module.
This function only mocks the presence of a window,
window properties (e.g. width and height) can be mocked like regular IPC calls using the mockIPC
function.