diff --git a/v3/package.json b/v3/package.json index f3a9f45a..169dd2da 100644 --- a/v3/package.json +++ b/v3/package.json @@ -13,6 +13,7 @@ "build": "astro build", "preview": "astro preview", "astro": "astro", + "test": "node --test tests/*.test.mjs", "check": "npm run check:astro && npm run check:eslint && npm run check:prettier", "check:astro": "astro check", "check:eslint": "eslint .", diff --git a/v3/src/components/blog/ListItem.astro b/v3/src/components/blog/ListItem.astro index 3fef2405..d5af4c15 100644 --- a/v3/src/components/blog/ListItem.astro +++ b/v3/src/components/blog/ListItem.astro @@ -65,7 +65,9 @@ const link = APP_BLOG?.post?.isEnabled ? getPermalink(post.permalink, 'post') :