fix: keep AgentRun validation hints locally scoped
This commit is contained in:
@@ -313,7 +313,7 @@ describe("AgentRun default transport contract", () => {
|
||||
expect(rejected.ok).toBe(false);
|
||||
expect(renderedContentTypeOf(rejected)).toBe(invalid.contentType);
|
||||
expect(rejectedText).toContain("validation-failed");
|
||||
expect(rejectedText).toContain("Use --input without --full or --raw");
|
||||
expect(rejectedText).toContain("cannot be combined with complete resource disclosure");
|
||||
expect(rejectedText).not.toContain(hiddenCredential);
|
||||
expect(rejectedText).not.toContain("supervisor");
|
||||
expect(Buffer.byteLength(rejectedText, "utf8")).toBeLessThan(2400);
|
||||
|
||||
Reference in New Issue
Block a user