A2: tests follow history.show being registered next to A1's tab menu
Some checks failed
ci / ci (macos-15) (push) Has been cancelled
ci / ci (ubuntu-24.04) (push) Has been cancelled
ci / ci (windows-2025) (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-11-08 17:04:08 +01:00
parent 07ec4f8f1c
commit 4c3d5cc460
2 changed files with 2 additions and 6 deletions

View file

@ -186,10 +186,8 @@ describe("Local History dialog", () => {
});
it("refuses bad params and runs without a file", async () => {
await mountAll();
const history = useLocalHistoryStore(pinia);
await expect(history.showCommand({ path: 3 })).rejects.toThrow("Show Local History takes");
useEditorStore(pinia).activeId = null;
await expect(history.showCommand({})).rejects.toThrow("Open or select a file");
});
});