fix: fix tests
This commit is contained in:
parent
e499d602fd
commit
b14bbe432d
@ -281,32 +281,6 @@ describe("agentapi", async () => {
|
||||
expect(respAgentCommand.stdout).toContain("exists");
|
||||
});
|
||||
|
||||
test("task-app-id-output", async () => {
|
||||
// Test that task_app_id output is null when enable_agentapi is false
|
||||
const projectDir = "/home/coder/project";
|
||||
const state = await runTerraformApply(import.meta.dir, {
|
||||
agent_id: "test-agent",
|
||||
experiment_report_tasks: "true",
|
||||
install_agentapi: "false",
|
||||
web_app_display_name: "AgentAPI Web",
|
||||
web_app_slug: "agentapi-web",
|
||||
web_app_icon: "/icon/coder.svg",
|
||||
cli_app_display_name: "AgentAPI CLI",
|
||||
cli_app_slug: "agentapi-cli",
|
||||
agentapi_version: "latest",
|
||||
agent_name: "claude",
|
||||
module_dir_name: moduleDirName,
|
||||
folder: projectDir,
|
||||
pre_install_script: "echo 'Pre-install'",
|
||||
install_script: "echo 'Install'",
|
||||
post_install_script: "echo 'Post-install'",
|
||||
start_script: "echo 'Start'",
|
||||
enable_agentapi: "false",
|
||||
});
|
||||
|
||||
expect(state.outputs.task_app_id.value).toBeNull();
|
||||
});
|
||||
|
||||
describe("shutdown script", async () => {
|
||||
const setupMocks = async (
|
||||
containerId: string,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user