Fix linting

This commit is contained in:
Jon Staab
2025-04-29 09:26:01 -07:00
parent ed10a620a7
commit 8a153283de
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ describe("Content Truncation", () => {
})
expect(result[result.length - 1].type).toBe(ParsedType.Ellipsis) // ellipsis
expect(result).toHaveLength(2) // text + link = 300 + 250 = 550
expect(result).toHaveLength(3) // text + link = 300 + 250 = 550
})
it("should account for entityLength in nostr entity calculations", () => {
@@ -71,7 +71,7 @@ describe("Content Truncation", () => {
// 300 + 110 = 410, which is over the maxLength
expect(result[result.length - 1].type).toBe(ParsedType.Ellipsis) // ellipsis
expect(result).toHaveLength(2) // text + profile
expect(result).toHaveLength(3) // text + profile
})
it("should handle mixed content types correctly", () => {