authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-05 01:52:24-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-05 01:52:24-07:00
log160e337a5c521bcaae94b386d22226f32242fdd0
treebb03585a302735ef43b01fc09ff217b9f0b51318
parentbc24d98d1630104722abe6a4d839365d24e2aa27
signature Signed by PGP key B5690EEEBB952194

test(server): remove repeated runtime prompt interpolation cases (#10059)


1 files changed, 0 insertions(+), 11 deletions(-)

apps/server/src/provider/RuntimeInstructions.test.ts-11
...@@ -2,17 +2,6 @@ import { describe, expect, it } from "vite-plus/test";...@@ -2,17 +2,6 @@ import { describe, expect, it } from "vite-plus/test";
2import { buildRuntimeInstructions } from "./RuntimeInstructions.ts";2import { buildRuntimeInstructions } from "./RuntimeInstructions.ts";
33
4describe("buildRuntimeInstructions", () => {4describe("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({