mirror of
https://github.com/coder/registry.git
synced 2026-06-02 20:48:14 +00:00
chore: add tests for latest agent versions (#371)
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user