diff --git a/packages/slate/test/interfaces/Editor/nodes/mode-all/block.js b/packages/slate/test/interfaces/Editor/nodes/mode-all/block.js
index a200911d2..cd094df16 100644
--- a/packages/slate/test/interfaces/Editor/nodes/mode-all/block.js
+++ b/packages/slate/test/interfaces/Editor/nodes/mode-all/block.js
@@ -16,7 +16,7 @@ export const input = (
export const test = editor => {
return Array.from(
- Editor.nodes(editor, { at: [], match: n => n.a, mode: 'highest' })
+ Editor.nodes(editor, { at: [], match: n => n.a, mode: 'all' })
)
}
@@ -27,10 +27,12 @@ export const output = [
,
[0],
],
+ [one, [0, 0]],
[
two
,
[1],
],
+ [two, [1, 0]],
]
diff --git a/packages/slate/test/interfaces/Editor/nodes/mode-highest/block.js b/packages/slate/test/interfaces/Editor/nodes/mode-highest/block.js
index cd094df16..a200911d2 100644
--- a/packages/slate/test/interfaces/Editor/nodes/mode-highest/block.js
+++ b/packages/slate/test/interfaces/Editor/nodes/mode-highest/block.js
@@ -16,7 +16,7 @@ export const input = (
export const test = editor => {
return Array.from(
- Editor.nodes(editor, { at: [], match: n => n.a, mode: 'all' })
+ Editor.nodes(editor, { at: [], match: n => n.a, mode: 'highest' })
)
}
@@ -27,12 +27,10 @@ export const output = [
,
[0],
],
- [one, [0, 0]],
[
two
,
[1],
],
- [two, [1, 0]],
]