test: update experimental api shell assertions
This commit is contained in:
parent
ea277baeb7
commit
6ac33ddc4d
1 changed files with 2 additions and 2 deletions
|
|
@ -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([])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue