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:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user