mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-21 22:45:18 +02:00
Fix a hyperscript bug in perserving text-key (#1846)
* Perserve the text key in the right way * rename assertation to test
This commit is contained in:
committed by
Ian Storm Taylor
parent
dd3e9effff
commit
727a7ece26
@@ -27,6 +27,7 @@ describe('slate-hyperscript', () => {
|
||||
const actual = input.toJSON()
|
||||
const expected = Value.isValue(output) ? output.toJSON() : output
|
||||
assert.deepEqual(actual, expected)
|
||||
if (module.test) module.test()
|
||||
})
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user