chroe(ts-sdk): fix lints (#4334)

This commit is contained in:
Saket Aryan
2026-03-14 23:39:23 +05:30
committed by GitHub
parent a6242710df
commit df79a43925
8 changed files with 232 additions and 114 deletions
@@ -22,7 +22,8 @@ describe("removeCodeBlocks", () => {
});
it("handles Claude-style response with surrounding text", () => {
const input = 'Here is the JSON:\n```json\n{"facts": ["user likes TypeScript"]}\n```';
const input =
'Here is the JSON:\n```json\n{"facts": ["user likes TypeScript"]}\n```';
expect(removeCodeBlocks(input)).toContain('"facts"');
expect(removeCodeBlocks(input)).not.toContain("```");
});