clearMocks():
void
Defined in: mocks.ts:88
Restores the real transports/metadata installed by the mocks above.
void
mockConvertFileSrc(
fn):void
Defined in: mocks.ts:79
Overrides convertFileSrc for asset-URL assertions.
(filePath, protocol?) => string
void
mockIPC(
cb):void
Defined in: mocks.ts:43
Replaces the invoke transport with an in-memory handler.
IpcHandler
void
mockWindows(...
labels):void
Defined in: mocks.ts:59
Seeds window metadata (currentWindow/currentWebview labels) — the shape
Window.getCurrent() / Webview.getCurrent() read.
...string[]
void