test: update experimental api shell assertions

This commit is contained in:
LukeParkerDev 2026-04-27 14:30:41 +10:00
commit 6ac33ddc4d

View file

@ -94,14 +94,14 @@ describe("experimental HttpApi", () => {
expect(toolList.status).toBe(200)
expect(await toolList.json()).toContainEqual(
expect.objectContaining({
id: "bash",
id: "shell",
description: expect.any(String),
parameters: expect.any(Object),
}),
)
expect(toolIDs.status).toBe(200)
expect(await toolIDs.json()).toContain("bash")
expect(await toolIDs.json()).toContain("shell")
expect(worktrees.status).toBe(200)
expect(await worktrees.json()).toEqual([])