From 80230a3fc46f183bfe755bd40dc977bc7192e611 Mon Sep 17 00:00:00 2001 From: PathGao <42336971+PathGao@users.noreply.github.com> Date: Mon, 13 Jul 2026 14:41:47 +0900 Subject: [PATCH] fix: remove duplicate test:frontmatter script key package.json declared "test:frontmatter" twice; JSON parsing keeps the last key, so the variant covering only scripts/frontMatter.test.ts silently shadowed the one that also runs scripts/frontMatterDisclosure.test.ts. Keep the complete variant so both test files run under npm run test:frontmatter. Co-Authored-By: Claude Fable 5 --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index dd75e7d..b76f780 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "build": "vite build", "preview": "vite preview", "test:frontmatter": "node --test --import tsx scripts/frontMatter.test.ts scripts/frontMatterDisclosure.test.ts", - "test:frontmatter": "node --test --import tsx scripts/frontMatter.test.ts", "test:workflows": "node --test --import tsx scripts/exportHtml.test.ts scripts/exportOpenPrompt.test.ts scripts/reloadOpenToolbar.test.ts scripts/editorToolbar.test.ts scripts/titlebarToolbar.test.ts scripts/toolbarCustomizationWiring.test.ts", "test:settings-scroll": "node --test --import tsx scripts/previewScrollSync.test.ts scripts/toolbarCustomizationWiring.test.ts", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",