A local-first multi-agent app development platform, built on PenguinHarness
test(landing): account for the 0.2.1 release post in blog fixtures (#211)
Yaowei Zhenga78901d70e4b
diff --git a/packages/landing/test/blog.test.ts b/packages/landing/test/blog.test.tsindex 047934c6..c99e6427 100644--- a/packages/landing/test/blog.test.ts+++ b/packages/landing/test/blog.test.ts@@ -96,7 +96,7 @@ describe("frontmatter mapping (author / pinned / category)", () => {it("reads the pinned flag and sorts the pinned post first", () => {for (const locale of ["en", "zh"] as const) {const posts = postsFor(locale);- expect(posts.length).toBe(14);+ expect(posts.length).toBe(15);// The launch post stays the single pinned post; newer posts sort under it by date.expect(posts.filter((p) => p.pinned).map((p) => p.slug)).toEqual(["introducing-penguinharness",@@ -120,6 +120,7 @@ describe("frontmatter mapping (author / pinned / category)", () => {it("filters by the news category, newest first", () => {expect(postsFor("en", "news").map((p) => p.slug)).toEqual(["introducing-penguinharness",+ "penguinharness-0-2-1","penguinharness-0-2-0","penguinharness-0-1-5","penguinharness-0-1-4",