mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 17:53:59 +02:00
@@ -8,7 +8,7 @@ describe('slate-hyperscript', () => {
|
|||||||
let actual = {}
|
let actual = {}
|
||||||
|
|
||||||
if (Array.isArray(output)) {
|
if (Array.isArray(output)) {
|
||||||
actual = output
|
actual = input
|
||||||
} else {
|
} else {
|
||||||
for (const key in output) {
|
for (const key in output) {
|
||||||
actual[key] = input[key]
|
actual[key] = input[key]
|
||||||
|
Reference in New Issue
Block a user