Skip to content

Commit 4aa16bb

Browse files
authored
fix/unit-test in slate-history(#5825) (#5841)
1 parent 463ef3a commit 4aa16bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/slate-history/test/undo/delete_backward/block-text.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { jsx } from '../..'
44
import { cloneDeep } from 'lodash'
55

66
export const run = editor => {
7-
Transforms.delete(editor)
7+
Transforms.delete(editor, { reverse: true })
88
}
99
export const input = (
1010
<editor>
@@ -15,5 +15,4 @@ export const input = (
1515
</block>
1616
</editor>
1717
)
18-
export const skip = true // TODO: see https://github.com/ianstormtaylor/slate/pull/4188
1918
export const output = cloneDeep(input)

0 commit comments

Comments
 (0)