Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

test: pin mobile editor schema after shared document extensions

tianma-ifd601c781629e
diff --git a/apps/web/src/lib/mobile-editor-bootstrap.test.mjs b/apps/web/src/lib/mobile-editor-bootstrap.test.mjs
index ec8ed4c9..3f0aa9a1 100644
--- a/apps/web/src/lib/mobile-editor-bootstrap.test.mjs
+++ b/apps/web/src/lib/mobile-editor-bootstrap.test.mjs
@@ -29,7 +29,8 @@ describe("standalone mobile editor bootstrap", () => {
});
test("does not load desktop syntax highlighting on the mobile editor critical path", () => {
- expect(mobileEditorComponent).toContain("StarterKit.configure({ link: false })");
+ expect(mobileEditorComponent).toContain("createEdgeEverDocumentExtensions({");
+ expect(mobileEditorComponent).toContain("starterKit: { link: false }");
expect(mobileEditorComponent).not.toContain("codeBlock: false");
expect(mobileEditorComponent).not.toContain('from "@/lib/code-block"');
expect(mobileEditorComponent).not.toContain("codeBlockLowlight");