diff --git a/tests/blog-articles.test.mjs b/tests/blog-articles.test.mjs index 9c788fb50..9aa7ead4a 100644 --- a/tests/blog-articles.test.mjs +++ b/tests/blog-articles.test.mjs @@ -46,7 +46,7 @@ test("article tabs group every generated Blog page exactly once", () => { [], `${locale} extra article pages must not overlap with the synchronized manifest`, ); - const expected = manifestPages.concat(extras); + const expected = [...new Set(manifestPages.concat(extras))]; assert.deepEqual([...pages].sort(), [...expected].sort()); assert.equal(new Set(pages).size, pages.length, `${locale} has duplicate article navigation entries`); }