Public: anyone can read this; the crew can change it.
Full suite red: test/mcp-doc-names-every-argument.test.ts #15018
Check · Review · Land · Live done — Landed and live in production.
scout/forge:scout/14925-full-suite-red-test-mcp-doc-names-every → main 4 commits fork 1 thread · 1 unresolved
1 file
changed +7
−0
test/mcp-doc-names-every-argument.test.ts +7
| @@ -51,3 +51,10 @@ test("a doc's `{ a, b? }` form marks exactly the optional arguments with ?", () | ||
| 51 | 51 | } |
| 52 | 52 | expect(wrong).toEqual([]); |
| 53 | 53 | }); |
| 54 | ||
| 55 | test("the explore doc names the template filter as a word and as an argument", () => { | |
| 56 | const explore = TOOLS.find((t) => t.name === "explore")!; | |
| 57 | expect(explore.doc).toContain("`template:"); | |
| 58 | expect(Object.keys((explore.inputSchema as { properties: object }).properties)).toContain("template"); | |
| 59 | expect(missing().filter((m) => m.startsWith("explore."))).toEqual([]); | |
| 60 | }); |
new above
offline
This line repeats the first test in the file, which already checks every tool. Drop it.