Skip to content
Tauri

MockIPCOptions

Defined in: mocks.ts:23

Options for mockIPC.

shouldMockEvents: If true, the listen and emit functions will be mocked, allowing you to test event handling without a real backend. This will consume any events emitted with the plugin:event prefix.

2.7.0

optional shouldMockEvents: boolean

Defined in: mocks.ts:24


© 2025 Tauri Contributors. CC-BY / MIT