Update tests after reverting to old behavior

pull/11919/head
Henry Heino 2025-04-07 11:14:59 -07:00
parent c18c95a23e
commit 058ae5f4e1
1 changed files with 4 additions and 6 deletions

View File

@ -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',