Skip to main content

assert_ipc_not_called

Function assert_ipc_not_called 

Source
pub fn assert_ipc_not_called(log: &Value, command: &str)
Expand description

Assert that a specific IPC command was NOT called.

§Panics

Panics if the command was found in the IPC log.

§Examples

use serde_json::json;

let log = json!([{"command": "save_settings", "args": {}}]);
victauri_test::assert_ipc_not_called(&log, "delete_account");