MCPcopy
hub / github.com/udecode/plate / createTestEditor

Function createTestEditor

packages/date/src/lib/queries/isPointNextToNode.spec.tsx:13–16  ·  view source on GitHub ↗
(input: JSX.Element)

Source from the content-addressed store, hash-verified

11
12describe('isPointNextToNode', () => {
13 const createTestEditor = (input: JSX.Element) =>
14 createSlateEditor({
15 editor: createEditor(input as any),
16 } as any);
17
18 describe('when point is next to a node of specified type', () => {
19 it('returns true', () => {

Callers 1

Calls 2

createSlateEditorFunction · 0.85
createEditorFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…