test: ai-quick-actions suit #187 - plus de flag agent sur les actions
Le test assertait encore `agent: true` sur les quick actions frontmatter, depuis la suppression du toggle mode agent (#187, v2.53.2). Job lint CI (run 853) en échec. Commit rattaché à la livraison 2.53.2 déjà publiée : pas de nouvel incrément (SKIP_VERSION_BUMP).
This commit is contained in:
@@ -114,10 +114,9 @@ await test("the 4 scenarios of the design table map to the expected actions", ()
|
|||||||
assert.deepEqual(suggestionsFor("selection").map((a) => a.id), ["concise", "fix_style", "explain_selection"]);
|
assert.deepEqual(suggestionsFor("selection").map((a) => a.id), ["concise", "fix_style", "explain_selection"]);
|
||||||
});
|
});
|
||||||
|
|
||||||
await test("frontmatter actions are agent-mode (they mutate the document)", () => {
|
await test("#187: frontmatter actions need no agent-mode flag (always agent)", () => {
|
||||||
assert.equal(getAction("frontmatter").agent, true);
|
assert.equal(getAction("frontmatter").agent, undefined);
|
||||||
assert.equal(getAction("frontmatter_update").agent, true);
|
assert.equal(getAction("frontmatter_update").agent, undefined);
|
||||||
assert.ok(!getAction("summarize_3").agent);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// ── i18n completeness (FR + EN) ────────────────────────────────────────────
|
// ── i18n completeness (FR + EN) ────────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user