Skip to content

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

test(web): check configurable paragraph spacing in WeChat copy

tianma-ifa9855ee9949d
diff --git a/apps/web/src/lib/publish-layout.test.mjs b/apps/web/src/lib/publish-layout.test.mjs
index 29161cff..f6c1cee6 100644
--- a/apps/web/src/lib/publish-layout.test.mjs
+++ b/apps/web/src/lib/publish-layout.test.mjs
@@ -167,7 +167,7 @@ describe("copy pipeline wiring", () => {
expect(source).not.toContain("applyPublishLayout");
expect(source).toContain("noteProseCodeFontSize");
expect(source).toContain("NOTE_PROSE_HEADING_SCALE");
- expect(source).toContain("NOTE_PROSE_PARAGRAPH_SPACING_PX");
+ expect(source).toContain('rhythm["--editor-paragraph-spacing"]');
expect(source).toContain("[data-note-palette]");
expect(source).toContain("preparePublishArticle");
expect(source).not.toContain("editorThemeOverride");