mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 06:04:15 +00:00
fix(coding-agent): update test expectations after registerFlag -- prefix removal
This commit is contained in:
parent
08aa7a7dad
commit
9ddbafb03a
2 changed files with 2 additions and 2 deletions
|
|
@ -441,7 +441,7 @@ describe("extensions discovery", () => {
|
||||||
|
|
||||||
expect(result.errors).toHaveLength(0);
|
expect(result.errors).toHaveLength(0);
|
||||||
expect(result.extensions).toHaveLength(1);
|
expect(result.extensions).toHaveLength(1);
|
||||||
expect(result.extensions[0].flags.has("--my-flag")).toBe(true);
|
expect(result.extensions[0].flags.has("my-flag")).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("loadExtensions only loads explicit paths without discovery", async () => {
|
it("loadExtensions only loads explicit paths without discovery", async () => {
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ describe("ExtensionRunner", () => {
|
||||||
const runner = new ExtensionRunner(result.extensions, result.runtime, tempDir, sessionManager, modelRegistry);
|
const runner = new ExtensionRunner(result.extensions, result.runtime, tempDir, sessionManager, modelRegistry);
|
||||||
const flags = runner.getFlags();
|
const flags = runner.getFlags();
|
||||||
|
|
||||||
expect(flags.has("--my-flag")).toBe(true);
|
expect(flags.has("my-flag")).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("can set flag values", async () => {
|
it("can set flag values", async () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue