Auto-reply: format and lint fixes

This commit is contained in:
Peter Steinberger
2025-12-03 00:30:05 +00:00
parent b6c45485bc
commit ecac4dd72a
4 changed files with 7 additions and 4 deletions

View File

@@ -29,7 +29,8 @@ describe("chunkText", () => {
});
it("otherwise breaks at the last whitespace under the limit", () => {
const text = "This is a message that should break nicely near a word boundary.";
const text =
"This is a message that should break nicely near a word boundary.";
const chunks = chunkText(text, 30);
expect(chunks[0].length).toBeLessThanOrEqual(30);
expect(chunks[1].length).toBeLessThanOrEqual(30);