Skip to content

Commit 01ffc15

Browse files
john-traasadrianschmidt
authored andcommitted
test(text editor): add tests for list handling functions
- move test files into separate folder
1 parent 3ddb746 commit 01ffc15

File tree

2 files changed

+555
-3
lines changed

2 files changed

+555
-3
lines changed

src/components/text-editor/prosemirror-adapter/menu/menu-command.spec.tsx renamed to src/components/text-editor/prosemirror-adapter/menu/__tests__/menu-command.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { schema as basicSchema } from 'prosemirror-schema-basic';
55
import { keymap } from 'prosemirror-keymap';
66
import { exampleSetup } from 'prosemirror-example-setup';
77
import { EditorView } from 'prosemirror-view';
8-
import { MenuCommandFactory } from './menu-commands';
9-
import { EditorMenuTypes } from './types';
10-
import { strikethrough } from './menu-schema-extender';
8+
import { MenuCommandFactory } from '../menu-commands';
9+
import { EditorMenuTypes } from '../types';
10+
import { strikethrough } from '../menu-schema-extender';
1111

1212
describe('MenuCommandFactory', () => {
1313
let mySchema: Schema;

0 commit comments

Comments
 (0)