Function assert_ipc_called
Source pub fn assert_ipc_called(log: &Value, command: &str)
Expand description
Assert that a specific IPC command was called at least once.
§Panics
Panics if the command was not found in the IPC log.
§Examples
use serde_json::json;
let log = json!([{"command": "save_settings", "args": {"theme": "dark"}}]);
victauri_test::assert_ipc_called(&log, "save_settings");