diff --git a/packages/cli/test/markdown.test.ts b/packages/cli/test/markdown.test.ts index 65c7069..be57b7a 100644 --- a/packages/cli/test/markdown.test.ts +++ b/packages/cli/test/markdown.test.ts @@ -393,7 +393,7 @@ title: Post }); it("preserves TOML tables", () => { - const content = `+++ + const content = `+++ title = "Example" coverImage = "static/covers/example.png" @@ -407,7 +407,9 @@ Body content here.`; expect(frontmatter.title).toBe("Example"); expect(body).toBe("Body content here."); - const coverTable = rawFrontmatter?.["cover"] as Record | undefined; + const coverTable = rawFrontmatter?.["cover"] as + | Record + | undefined; expect(coverTable).not.toBe(undefined); const coverImageField = coverTable?.["image"] as string | undefined; expect(coverImageField).toBe("/covers/example.png"); @@ -599,7 +601,10 @@ coverImage = "static/covers/example.png" hidden = true +++ Body content here.`; - const updatedContent = updateFrontmatterWithAtUri(content, "at://did:plc:new/app.bsky.feed.post/new"); + const updatedContent = updateFrontmatterWithAtUri( + content, + "at://did:plc:new/app.bsky.feed.post/new", + ); expect(updatedContent).toBe(`+++ title = "Example" coverImage = "static/covers/example.png"