mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-14 08:30:36 +00:00
test: Remove duplicate install-field test in manifest-type-contracts (#2150)
The "install commands should be strings" test in the "Agent launch command consistency" describe block was a full duplicate of the per-agent "install should be a non-empty string" test already present in the "Agent required field types" loop. Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: L <6723574+louisgv@users.noreply.github.com>
This commit is contained in:
parent
ebe8148177
commit
5b1c3f777e
1 changed files with 2 additions and 7 deletions
|
|
@ -280,13 +280,8 @@ describe("Agent launch command consistency", () => {
|
|||
expect(agent.launch).not.toMatch(/\$\([^)]+\)/);
|
||||
}
|
||||
});
|
||||
|
||||
it("install commands should be strings (can contain pipe for curl|bash)", () => {
|
||||
for (const [, agent] of allAgents) {
|
||||
expect(typeof agent.install).toBe("string");
|
||||
expect(agent.install.trim().length).toBeGreaterThan(0);
|
||||
}
|
||||
});
|
||||
// Note: install field type/non-empty checks are covered by
|
||||
// "Agent required field types" > "install should be a non-empty string"
|
||||
});
|
||||
|
||||
// ── Interactive prompts structure ─────────────────────────────────────────
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue