test: add milkdown markdown roundtrip integration coverage

Co-authored-by: rfc1437 <774975+rfc1437@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-17 06:49:38 +00:00
parent c3e15034f5
commit 54a367d423
4 changed files with 126 additions and 7 deletions

View File

@@ -45,4 +45,15 @@ describe('shouldPropagateMilkdownChange', () => {
expect(result).toBe(false);
});
it('does not propagate list-spacing-only normalization differences', () => {
const result = shouldPropagateMilkdownChange({
markdown: '- one\n\n- two',
prevMarkdown: '',
externalContent: '- one\n- two',
hasUserInteracted: true,
});
expect(result).toBe(false);
});
});