Skip to content

Commit b5837a7

Browse files
authored
chore: add tests for latest agent versions (#371)
1 parent 5764ff2 commit b5837a7

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

registry/coder-labs/modules/gemini/main.test.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,18 @@ describe("gemini", async () => {
107107
expect(resp.stdout).toContain(version_to_install);
108108
});
109109

110+
test("install-gemini-latest", async () => {
111+
const { id } = await setup({
112+
skipGeminiMock: true,
113+
moduleVariables: {
114+
install_gemini: "true",
115+
gemini_version: "",
116+
},
117+
});
118+
await execModuleScript(id);
119+
await expectAgentAPIStarted(id);
120+
});
121+
110122
test("gemini-settings-json", async () => {
111123
const settings = '{"foo": "bar"}';
112124
const { id } = await setup({

registry/coder/modules/goose/main.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ describe("goose", async () => {
134134
console.log(resp.stderr);
135135
}
136136
expect(resp.exitCode).toBe(0);
137+
await expectAgentAPIStarted(id);
137138
});
138139

139140
test("config", async () => {

0 commit comments

Comments
 (0)