fix: add requestHeartbeatNow to bluebubbles test mock

This commit is contained in:
Austin Eral
2026-02-17 20:52:15 +00:00
committed by Peter Steinberger
parent 40e5c6a18d
commit 3b9877dee7

View File

@@ -103,6 +103,7 @@ function createMockRuntime(): PluginRuntime {
system: {
enqueueSystemEvent:
mockEnqueueSystemEvent as unknown as PluginRuntime["system"]["enqueueSystemEvent"],
requestHeartbeatNow: vi.fn() as unknown as PluginRuntime["system"]["requestHeartbeatNow"],
runCommandWithTimeout: vi.fn() as unknown as PluginRuntime["system"]["runCommandWithTimeout"],
formatNativeDependencyHint: vi.fn(
() => "",