(modify: (editor: Editor) => void)
| 1077 | |
| 1078 | describe('invalid delta', () => { |
| 1079 | const getEditorDelta = (modify: (editor: Editor) => void) => { |
| 1080 | const editor = createEditor(`<p></p>`); |
| 1081 | modify(editor); |
| 1082 | return editor.getDelta().ops; |
| 1083 | }; |
| 1084 | |
| 1085 | test('conflict block formats', () => { |
| 1086 | const change = new Delta() |
no test coverage detected
searching dependent graphs…