A2: tests follow history.show being registered next to A1's tab menu
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
07ec4f8f1c
commit
4c3d5cc460
2 changed files with 2 additions and 6 deletions
|
|
@ -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");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue