From 1e283b54a8c90f69d801b3e582e6c01fb7d763e2 Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Tue, 2 Jun 2026 23:41:00 -0700 Subject: [PATCH] Format --- packages/cli/test/markdown.test.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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" -- 2.51.2