Skip to content

Commit

Permalink
fixed bad test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaked committed Oct 19, 2021
1 parent f96825a commit 7269b7a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/editor/insertBreak.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/** @jsx jsx */
import { Editor } from 'slate';
import { jsx } from '../util/slate-hyperscript-jsx';
import { expectEditor } from './expectEditor';
import { insertBreak } from './insertBreak';
Expand All @@ -14,8 +13,8 @@ describe('in link', () => {
editor => insertBreak(editor)(),

<editor>
<p><a href="https://foo.bar/">link</a><cursor/></p>
<p/>
<p><a href="https://foo.bar/">link</a></p>
<p><cursor/></p>
</editor>
);
});
Expand Down

0 comments on commit 7269b7a

Please sign in to comment.