mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
fix: add requestHeartbeatNow to bluebubbles test mock
This commit is contained in:
committed by
Peter Steinberger
parent
40e5c6a18d
commit
3b9877dee7
@@ -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(
|
||||
() => "",
|
||||
|
||||
Reference in New Issue
Block a user