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.
This function only mocks the presence of windows,
window properties (e.g. width and height) can be mocked like regular IPC calls using the mockIPC function.
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.This function only mocks the presence of windows, window properties (e.g. width and height) can be mocked like regular IPC calls using the
mockIPC
function.Examples