From b5837a704d6e006490ff3404b68fa82a9894d5e3 Mon Sep 17 00:00:00 2001 From: 35C4n0r <70096901+35C4n0r@users.noreply.github.com> Date: Sun, 24 Aug 2025 00:45:55 +0530 Subject: [PATCH] chore: add tests for latest agent versions (#371) --- registry/coder-labs/modules/gemini/main.test.ts | 12 ++++++++++++ registry/coder/modules/goose/main.test.ts | 1 + 2 files changed, 13 insertions(+) diff --git a/registry/coder-labs/modules/gemini/main.test.ts b/registry/coder-labs/modules/gemini/main.test.ts index e0a36c49..33de80a9 100644 --- a/registry/coder-labs/modules/gemini/main.test.ts +++ b/registry/coder-labs/modules/gemini/main.test.ts @@ -107,6 +107,18 @@ describe("gemini", async () => { expect(resp.stdout).toContain(version_to_install); }); + test("install-gemini-latest", async () => { + const { id } = await setup({ + skipGeminiMock: true, + moduleVariables: { + install_gemini: "true", + gemini_version: "", + }, + }); + await execModuleScript(id); + await expectAgentAPIStarted(id); + }); + test("gemini-settings-json", async () => { const settings = '{"foo": "bar"}'; const { id } = await setup({ diff --git a/registry/coder/modules/goose/main.test.ts b/registry/coder/modules/goose/main.test.ts index 779767fb..3bce35e9 100644 --- a/registry/coder/modules/goose/main.test.ts +++ b/registry/coder/modules/goose/main.test.ts @@ -134,6 +134,7 @@ describe("goose", async () => { console.log(resp.stderr); } expect(resp.exitCode).toBe(0); + await expectAgentAPIStarted(id); }); test("config", async () => {