diff --git a/packages/slate-editor/src/modules/editor-v4/plugins/withVoids.test.tsx b/packages/slate-editor/src/modules/editor-v4/plugins/withVoids.test.tsx index b984d7628..d69afccc7 100644 --- a/packages/slate-editor/src/modules/editor-v4/plugins/withVoids.test.tsx +++ b/packages/slate-editor/src/modules/editor-v4/plugins/withVoids.test.tsx @@ -112,11 +112,10 @@ describe('editor-v4 - withVoids', () => { text before - - text after + text after ) as unknown) as Editor; @@ -131,10 +130,10 @@ describe('editor-v4 - withVoids', () => { const editor = createEditor( - text before + text before 1 - text before + text before 2 @@ -155,16 +154,13 @@ describe('editor-v4 - withVoids', () => { const expected = (( - text before + text before 1 - - text before - - + text before 2 - text after + text after ) as unknown) as Editor; @@ -206,13 +202,10 @@ describe('editor-v4 - withVoids', () => { const expected = (( - - text before - - + text before - text after + text after ) as unknown) as Editor;