mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-29 01:52:04 +00:00
test: trim memory wiki fixture setup
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user