1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-04-20 05:11:53 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]