test(FN-4783): stabilize workspace test lanes for verification

Fusion-Task-Id: FN-4783
Fusion-Task-Lineage: 7a02897b-e303-4947-86b2-3dd7a343f653
This commit is contained in:
Fusion (runfusion.ai)
2026-05-16 13:43:16 -07:00
committed by gsxdsm
parent 3c272cda63
commit 415cd6a111
6 changed files with 40 additions and 20 deletions

View File

@@ -296,11 +296,15 @@ describe("bin command routing and fallbacks", () => {
expect(output).toContain("worktrunk.onFailure");
});
it("launches dashboard when no args are provided", async () => {
commandMocks.runDashboard.mockResolvedValue({ dispose: vi.fn() });
await runBin([]);
expect(commandMocks.runDashboard).toHaveBeenCalled();
});
it(
"launches dashboard when no args are provided",
async () => {
commandMocks.runDashboard.mockResolvedValue({ dispose: vi.fn() });
await runBin([]);
expect(commandMocks.runDashboard).toHaveBeenCalled();
},
15000,
);
it(
"prints an error for unknown top-level command",