test: trim memory wiki fixture setup

This commit is contained in:
Peter Steinberger
2026-04-07 05:58:40 +01:00
parent ac9464441c
commit d0e53a3529
5 changed files with 75 additions and 21 deletions

View File

@@ -78,11 +78,11 @@ describe("memory-wiki cli", () => {
});
it("registers apply metadata and preserves the page body", async () => {
const { rootDir, config } = await createCliVault({
initialize: true,
});
const { rootDir, config } = await createCliVault();
const targetPath = path.join(rootDir, "entities", "alpha.md");
await fs.mkdir(path.dirname(targetPath), { recursive: true });
await fs.writeFile(
path.join(rootDir, "entities", "alpha.md"),
targetPath,
renderWikiMarkdown({
frontmatter: {
pageType: "entity",