From e32b71ebf36bbaea6a3f5ab71aedd21b20b0f009 Mon Sep 17 00:00:00 2001 From: alexion Date: Mon, 27 Jul 2026 22:15:32 -0400 Subject: [PATCH] test: move parser tests to parse_test.ts, off the barrel (task 0003) packages/core/src/index.ts is a pure re-export barrel with no behavior of its own, so its behavior tests belonged next to the module they exercise. Relocate the parser tests (and their roadmap todos) into a co-located parse_test.ts importing parse from ./parse.ts, and drop index_test.ts. A broken re-export is still caught by typecheck and by the bin package importing parse through the public entrypoint. --- packages/core/src/{index_test.ts => parse_test.ts} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename packages/core/src/{index_test.ts => parse_test.ts} (99%) diff --git a/packages/core/src/index_test.ts b/packages/core/src/parse_test.ts similarity index 99% rename from packages/core/src/index_test.ts rename to packages/core/src/parse_test.ts index 8c0ccff..f7aa23d 100644 --- a/packages/core/src/index_test.ts +++ b/packages/core/src/parse_test.ts @@ -1,6 +1,6 @@ import { describe, expect, test } from "bun:test"; -import { parse } from "@kitchen-md/core"; +import { parse } from "./parse.ts"; describe("parser", () => { describe("frontmatter", () => {