chore: add tests for latest agent versions (#371)
This commit is contained in:
parent
5764ff2fdc
commit
b5837a704d
@ -107,6 +107,18 @@ describe("gemini", async () => {
|
|||||||
expect(resp.stdout).toContain(version_to_install);
|
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 () => {
|
test("gemini-settings-json", async () => {
|
||||||
const settings = '{"foo": "bar"}';
|
const settings = '{"foo": "bar"}';
|
||||||
const { id } = await setup({
|
const { id } = await setup({
|
||||||
|
|||||||
@ -134,6 +134,7 @@ describe("goose", async () => {
|
|||||||
console.log(resp.stderr);
|
console.log(resp.stderr);
|
||||||
}
|
}
|
||||||
expect(resp.exitCode).toBe(0);
|
expect(resp.exitCode).toBe(0);
|
||||||
|
await expectAgentAPIStarted(id);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("config", async () => {
|
test("config", async () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user