| ... | @@ -2,17 +2,6 @@ import { describe, expect, it } from "vite-plus/test"; | ... | @@ -2,17 +2,6 @@ import { describe, expect, it } from "vite-plus/test"; |
| 2 | import { buildRuntimeInstructions } from "./RuntimeInstructions.ts"; | 2 | import { buildRuntimeInstructions } from "./RuntimeInstructions.ts"; |
| 3 | | 3 | |
| 4 | describe("buildRuntimeInstructions", () => { | 4 | describe("buildRuntimeInstructions", () => { |
| 5 | it.each(["Codex", "Claude Code", "Cursor", "Grok", "OpenCode", "Antigravity"])( | | |
| 6 | "identifies the %s harness and describes media embedding", | | |
| 7 | (harness) => { | | |
| 8 | const instructions = buildRuntimeInstructions({ harness }); | | |
| 9 | expect(instructions).toContain(`running in T3 Code through the ${harness} harness.`); | | |
| 10 | expect(instructions).toContain("embed images and videos"); | | |
| 11 | expect(instructions).toContain("Markdown with absolute file paths"); | | |
| 12 | expect(instructions).not.toContain("undefined"); | | |
| 13 | }, | | |
| 14 | ); | | |
| 15 | | | |
| 16 | it("keeps known model and effort metadata on one line", () => { | 5 | it("keeps known model and effort metadata on one line", () => { |
| 17 | expect( | 6 | expect( |
| 18 | buildRuntimeInstructions({ | 7 | buildRuntimeInstructions({ |