test(codemode): drop leftover $codemode references (#36451)
This commit is contained in:
parent
b9f39dd751
commit
75e8fd4da2
3 changed files with 10 additions and 23 deletions
|
|
@ -52,10 +52,8 @@ describe("Object.keys over tool references", () => {
|
|||
expect(await value(`return Object.keys(tools.github.list_issues)`)).toEqual([])
|
||||
})
|
||||
|
||||
test("search is a global built-in function, not a tools namespace", async () => {
|
||||
test("search is a global built-in function", async () => {
|
||||
expect(await value(`return typeof search`)).toBe("function")
|
||||
const failure = await error(`return Object.keys(tools.$codemode)`)
|
||||
expect(failure.kind).toBe("UnknownTool")
|
||||
})
|
||||
|
||||
test("an unknown namespace is an UnknownTool error pointing at the discovery idioms", async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue