1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-07-31 04:20:26 +02:00

Fix logic in test, fixes #4764 (#4899)

This commit is contained in:
Dylan Schiemann
2022-03-20 04:44:54 -07:00
committed by GitHub
parent 20acca4bc8
commit 947883435f

View File

@@ -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]