fix(coding-agent): update test expectations after registerFlag -- prefix removal
This commit is contained in:
@@ -441,7 +441,7 @@ describe("extensions discovery", () => {
|
||||
|
||||
expect(result.errors).toHaveLength(0);
|
||||
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 () => {
|
||||
|
||||
@@ -225,7 +225,7 @@ describe("ExtensionRunner", () => {
|
||||
const runner = new ExtensionRunner(result.extensions, result.runtime, tempDir, sessionManager, modelRegistry);
|
||||
const flags = runner.getFlags();
|
||||
|
||||
expect(flags.has("--my-flag")).toBe(true);
|
||||
expect(flags.has("my-flag")).toBe(true);
|
||||
});
|
||||
|
||||
it("can set flag values", async () => {
|
||||
|
||||
Reference in New Issue
Block a user