Skip to content

Commit 451f016

Browse files
committed
test(onboard): satisfy dashboard helper dependency typing
Signed-off-by: zyang-dev <267119621+zyang-dev@users.noreply.github.com>
1 parent e635f10 commit 451f016

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/onboard-dashboard.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ describe("onboard dashboard helpers", () => {
8585
runOpenshell,
8686
runCaptureOpenshell: vi.fn(() => ""),
8787
runCapture: vi.fn(() => ""),
88+
openshellArgv: (args: string[]) => [process.execPath, "-e", "", ...args],
8889
cliName: () => "nemoclaw",
8990
agentProductName: () => "NemoClaw",
9091
getProviderLabel: (provider: string) => provider,
@@ -124,6 +125,7 @@ describe("onboard dashboard helpers", () => {
124125
runOpenshell: vi.fn(() => ({ status: 1 })),
125126
runCaptureOpenshell: vi.fn(() => ""),
126127
runCapture: vi.fn(() => ""),
128+
openshellArgv: (args: string[]) => [process.execPath, "-e", "", ...args],
127129
cliName: () => "nemoclaw",
128130
agentProductName: () => "NemoClaw",
129131
getProviderLabel: (provider: string) => provider,

0 commit comments

Comments
 (0)