diff --git a/packages/slate-hyperscript/test/index.js b/packages/slate-hyperscript/test/index.js index 1e3d5bfb5..a526af5d4 100644 --- a/packages/slate-hyperscript/test/index.js +++ b/packages/slate-hyperscript/test/index.js @@ -8,7 +8,7 @@ describe('slate-hyperscript', () => { let actual = {} if (Array.isArray(output)) { - actual = output + actual = input } else { for (const key in output) { actual[key] = input[key]