mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:50:43 +00:00
test: align run main commander mock
This commit is contained in:
@@ -53,6 +53,7 @@ vi.mock("commander", () => {
|
||||
class MockCommand {
|
||||
name = vi.fn(() => this);
|
||||
enablePositionalOptions = vi.fn(() => this);
|
||||
option = vi.fn(() => this);
|
||||
exitOverride = vi.fn(() => this);
|
||||
description = vi.fn(() => this);
|
||||
command = vi.fn(() => new MockCommand());
|
||||
|
||||
Reference in New Issue
Block a user