mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 10:41:25 +00:00
Fix formatting (#22474)
This commit is contained in:
@@ -269,7 +269,9 @@ describe("web_search external content wrapping", () => {
|
||||
results?: Array<{ description?: string }>;
|
||||
};
|
||||
|
||||
expect(details.results?.[0]?.description).toMatch(/<<<EXTERNAL_UNTRUSTED_CONTENT id="[a-f0-9]{16}">>>/);
|
||||
expect(details.results?.[0]?.description).toMatch(
|
||||
/<<<EXTERNAL_UNTRUSTED_CONTENT id="[a-f0-9]{16}">>>/,
|
||||
);
|
||||
expect(details.results?.[0]?.description).toContain("Ignore previous instructions");
|
||||
expect(details.externalContent).toMatchObject({
|
||||
untrusted: true,
|
||||
|
||||
Reference in New Issue
Block a user