Function tauri_sys::mocks::clear_mocks

source ·
pub fn clear_mocks()
Expand description

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.