From 058ae5f4e1ceea6541ff2a5bc4aa6983989f327b Mon Sep 17 00:00:00 2001 From: Henry Heino Date: Mon, 7 Apr 2025 11:14:59 -0700 Subject: [PATCH] Update tests after reverting to old behavior --- .../markdown/insertNewlineContinueMarkup.test.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/editor/CodeMirror/markdown/insertNewlineContinueMarkup.test.ts b/packages/editor/CodeMirror/markdown/insertNewlineContinueMarkup.test.ts index 33b938a06c..6340b5665f 100644 --- a/packages/editor/CodeMirror/markdown/insertNewlineContinueMarkup.test.ts +++ b/packages/editor/CodeMirror/markdown/insertNewlineContinueMarkup.test.ts @@ -59,29 +59,26 @@ describe('insertNewlineContinueMarkup', () => { '\t2. Test 2', '\t3. ', ], - afterEnterPressTwice: [ - '- Testing', - '\t1. Test', - '\t2. Test 2', - '- ', - ], }, { // Should continue nested bulleted lists before: [ '- Testing', '\t- Test', '\t- Test 2', + '\t- ', ], afterEnterPress: [ '- Testing', '\t- Test', '\t- Test 2', + ' ', '\t- ', ], afterEnterPressTwice: [ '- Testing', '\t- Test', '\t- Test 2', + ' ', '- ', ], }, @@ -95,6 +92,7 @@ describe('insertNewlineContinueMarkup', () => { '- Testing', '- Test', '', + '- ', ], afterEnterPressTwice: [ '- Testing',