test: add milkdown markdown roundtrip integration coverage
Co-authored-by: rfc1437 <774975+rfc1437@users.noreply.github.com>
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user