The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 24, 09:00 UTC
test(server): remove repeated runtime prompt interpolation cases (#10059)
Julius Marminge committed
Sep 5, 2026 at 01:52 UTC
160e337a5c521bcaae94b386d22226f32242fdd0
1 file changed
-11
apps/server/src/provider/RuntimeInstructions.test.ts
-11
@@ -2,17 +2,6 @@ import { describe, expect, it } from "vite-plus/test";
2
import { buildRuntimeInstructions } from "./RuntimeInstructions.ts";
3
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
-
5
it("keeps known model and effort metadata on one line", () => {
6
expect(
7
buildRuntimeInstructions({