MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / web-search.test.ts

File web-search.test.ts

test/web-search.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect } from 'vitest';
2import { parseDuckDuckGoHtml, unwrapDdgRedirect } from '../src/tools/web/parse.js';
3import { selectBackend, WebSearchTool } from '../src/tools/web/web-search.js';
4import type { WebSearchBackend } from '../src/tools/web/types.js';

Callers

nothing calls this directly

Calls 7

parseDuckDuckGoHtmlFunction · 0.85
unwrapDdgRedirectFunction · 0.85
selectBackendFunction · 0.85
makeStubBackendFunction · 0.85
setBackendMethod · 0.80
makeCtxFunction · 0.70
executeMethod · 0.65

Tested by

no test coverage detected