Vendored
+1
-1
@@ -427,7 +427,7 @@ async function testGoogleSearchFallsBackToDuckDuckGo() {
|
||||
const hits = await tools.webSearch('example domain', 200);
|
||||
assert.ok(Array.isArray(hits));
|
||||
assert.strictEqual(hits.length, 1);
|
||||
assert.strictEqual(hits[0].source, 'duckduckgo');
|
||||
assert.strictEqual(hits[0].source, 'ddg_lite');
|
||||
assert.strictEqual(hits[0].url, 'https://example.com/ddg');
|
||||
assert.strictEqual(hits[0].title, 'DDG Example');
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user