From 6c82c5447003e825fc9e6b81ec5dc0a2e51030ee Mon Sep 17 00:00:00 2001 From: agent_vscode Date: Sat, 4 Jul 2026 22:33:06 +0300 Subject: [PATCH] test(mcp): expect Obsidian '> [!info]' callout export in e2e (#333 canon) PR #333 deliberately changed the canonical markdown export of callout nodes to the Obsidian-native format ('> [!type]' + blockquote body, pinned by packages/prosemirror-markdown unit tests); the importer still parses both ':::type' fences and '> [!type]'. The get_page e2e assertion was missed in that switch and still expected ':::info', failing the e2e-mcp job on develop since 4369bbc5. Co-Authored-By: Claude Fable 5 --- packages/mcp/test-e2e.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mcp/test-e2e.mjs b/packages/mcp/test-e2e.mjs index 6fa6192b..71cb8819 100644 --- a/packages/mcp/test-e2e.mjs +++ b/packages/mcp/test-e2e.mjs @@ -450,7 +450,7 @@ async function main() { // 8. get_page markdown round-trip sanity (table separator present) const md = await client.getPage(pageId); check("get_page md: table separator emitted", md.data.content.includes("| --- |"), ""); - check("get_page md: callout exported as :::", md.data.content.includes(":::info")); + check("get_page md: callout exported as Obsidian '> [!info]'", md.data.content.includes("> [!info]")); // 9. comments: create / list / reply / update / check_new / delete const beforeComments = new Date(Date.now() - 1000).toISOString();