diff --git a/packages/slate/test/interfaces/Node/elements/path.tsx b/packages/slate/test/interfaces/Node/elements/path.tsx deleted file mode 100644 index 213ee9f9d1..0000000000 --- a/packages/slate/test/interfaces/Node/elements/path.tsx +++ /dev/null @@ -1,24 +0,0 @@ -/** @jsx jsx */ -import { Node } from 'slate' -import { jsx } from 'slate-hyperscript' - -export const input = ( - - - - - - -) -export const test = value => { - return Array.from(Node.elements(value, { path: [0, 1] })) -} -export const output = [ - [ - - - - , - [0], - ], -] diff --git a/packages/slate/test/interfaces/Node/elements/range.tsx b/packages/slate/test/interfaces/Node/elements/range.tsx deleted file mode 100644 index ca2173f50c..0000000000 --- a/packages/slate/test/interfaces/Node/elements/range.tsx +++ /dev/null @@ -1,41 +0,0 @@ -/** @jsx jsx */ -import { Node } from 'slate' -import { jsx } from 'slate-hyperscript' - -export const input = ( - - - - - - - - -) -export const test = value => { - return Array.from( - Node.elements(value, { - range: { - anchor: { - path: [0, 1], - offset: 0, - }, - focus: { - path: [0, 2], - offset: 0, - }, - }, - }) - ) -} -export const output = [ - [ - - - - - - , - [0], - ], -] diff --git a/packages/slate/test/interfaces/Node/string/element.tsx b/packages/slate/test/interfaces/Node/string/element.tsx deleted file mode 100644 index 382726096a..0000000000 --- a/packages/slate/test/interfaces/Node/string/element.tsx +++ /dev/null @@ -1,14 +0,0 @@ -/** @jsx jsx */ -import { Node } from 'slate' -import { jsx } from 'slate-hyperscript' - -export const input = ( - - one - two - -) -export const test = value => { - return Node.string(value, [1]) -} -export const output = `onetwo` diff --git a/packages/slate/test/interfaces/Path/isAncestor/before.js b/packages/slate/test/interfaces/Path/isAncestor/before.js deleted file mode 100644 index f4952a9456..0000000000 --- a/packages/slate/test/interfaces/Path/isAncestor/before.js +++ /dev/null @@ -1,12 +0,0 @@ -import { Path } from 'slate' - -export const input = { - path: [0, 1, 2], - another: [1], -} - -export const test = ({ path, another }) => { - return Path.isAncestor(path, another) -} - -export const output = false