test(server): remove repeated runtime prompt interpolation cases (#10059)
This commit is contained in:
1 parent
bc24d98d16
commit
160e337a5c
1 file changed
-11
@@ -2,17 +2,6 @@ import { describe, expect, it } from "vite-plus/test";
|
||||
import { buildRuntimeInstructions } from "./RuntimeInstructions.ts";
|
||||
|
||||
describe("buildRuntimeInstructions", () => {
|
||||
it.each(["Codex", "Claude Code", "Cursor", "Grok", "OpenCode", "Antigravity"])(
|
||||
"identifies the %s harness and describes media embedding",
|
||||
(harness) => {
|
||||
const instructions = buildRuntimeInstructions({ harness });
|
||||
expect(instructions).toContain(`running in T3 Code through the ${harness} harness.`);
|
||||
expect(instructions).toContain("embed images and videos");
|
||||
expect(instructions).toContain("Markdown with absolute file paths");
|
||||
expect(instructions).not.toContain("undefined");
|
||||
},
|
||||
);
|
||||
|
||||
it("keeps known model and effort metadata on one line", () => {
|
||||
expect(
|
||||
buildRuntimeInstructions({
|
||||
|
||||
Reference in new issue
Block a user