chore: add tests for latest agent versions (#371)

This commit is contained in:
35C4n0r
2025-08-24 00:45:55 +05:30
committed by GitHub
parent 5764ff2fdc
commit b5837a704d
2 changed files with 13 additions and 0 deletions
@@ -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({
@@ -134,6 +134,7 @@ describe("goose", async () => {
console.log(resp.stderr);
}
expect(resp.exitCode).toBe(0);
await expectAgentAPIStarted(id);
});
test("config", async () => {