test(FN-4223): complete Step 5 — lock disambiguation copy assertions

Fusion-Task-Id: FN-4223
Fusion-Task-Lineage: bc114ff2-ee0f-4e96-b1d2-6ba3112a48e4
This commit is contained in:
Fusion
2026-05-13 05:11:43 -07:00
committed by gsxdsm
parent 122f8e1986
commit 39efb98114
4 changed files with 19 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ describe("research commands", () => {
it("creates a run", async () => {
await runResearchCreate({ query: "hello" });
expect(orchestratorMock.createRun).toHaveBeenCalled();
expect(logSpy).toHaveBeenCalledWith(expect.stringContaining("Created research run"));
expect(logSpy).toHaveBeenCalledWith(expect.stringContaining("Created cited-research run"));
});
it("creates a run when provider is unset by defaulting to builtin", async () => {
@@ -116,7 +116,7 @@ describe("research commands", () => {
it("fails show on missing run", async () => {
researchStoreMock.getRun.mockReturnValue(undefined);
await expect(runResearchShow("RR-404")).rejects.toThrow("process.exit:1");
expect(errorSpy).toHaveBeenCalledWith("Error: Research run not found: RR-404");
expect(errorSpy).toHaveBeenCalledWith("Error: Cited-research run not found: RR-404");
});
it("exports with explicit output path", async () => {