What is this about?
Problem
Cipher has no automated tests. ui/markdown.js is pure functions — perfect first test target. package.json has no test script.
Where to look
ui/markdown.js — renderAssistantMarkdown, escapeHtml
- New file:
scripts/test-markdown.mjs
package.json — add "test": "node scripts/test-markdown.mjs"
Acceptance criteria
Skills needed
Node.js only — no Electron window needed. Great first open-source test PR.
What is this about?
Problem
Cipher has no automated tests.
ui/markdown.jsis pure functions — perfect first test target.package.jsonhas notestscript.Where to look
ui/markdown.js—renderAssistantMarkdown,escapeHtmlscripts/test-markdown.mjspackage.json— add"test": "node scripts/test-markdown.mjs"Acceptance criteria
npm testpasses locallyCONTRIBUTING.mdmentions how to run testsSkills needed
Node.js only — no Electron window needed. Great first open-source test PR.