1
0
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:
Jinxuan Zhu
2018-06-10 19:34:06 -04:00
committed by Ian Storm Taylor
parent dd3e9effff
commit 727a7ece26
3 changed files with 76 additions and 1 deletions

View File

@@ -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()
})
}
})