Skip to content

Commit 4424138

Browse files
committed
test(codex): cover inherited Cursor search metadata
1 parent e93078c commit 4424138

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/catalog-cursor-search.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import { buildCatalogEntries, normalizeRoutedCatalogEntry } from "../src/codex/c
33

44
describe("routed catalog search advertising", () => {
55
test("cursor entries enable deferred discovery without advertising hosted web search", () => {
6-
const entry = normalizeRoutedCatalogEntry({ slug: "cursor/auto" } as never) as Record<string, unknown>;
6+
const entry = normalizeRoutedCatalogEntry({
7+
slug: "cursor/auto",
8+
web_search_tool_type: "text_and_image",
9+
} as never) as Record<string, unknown>;
710
expect(entry.tool_mode).toBe("code_mode_only");
811
expect(entry.supports_search_tool).toBe(true);
912
expect(entry.web_search_tool_type).toBeUndefined();

0 commit comments

Comments
 (0)