A3: name the adoption wait adopted(), not a second settled()

The editor store already has settled(id) for buffer sync; a second
declaration shadowed it (caught by vue-tsc).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-10-31 20:56:50 +01:00
parent 3c80ab87c9
commit 6fbfb08a50
3 changed files with 4 additions and 4 deletions

View file

@ -515,7 +515,7 @@ describe("blame commands in the main layout (M4.7)", () => {
await commands.execute(TOGGLE_BLAME_COMMAND, { path: "src/a.php" });
expect(isBlameShown("src/a.php")).toBe(false);
useEditorStore(pinia).handleEvent({ kind: "bufferOpened", id: 5 });
useEditorStore(pinia).handleEvent({ kind: "bufferOpened", id: 5, path: "src/opened.php" });
await commands.execute(TOGGLE_BLAME_COMMAND, {});
expect(isBlameShown("src/opened.php")).toBe(true);
});