mirror of
https://github.com/facebook/lexical.git
synced 2025-08-06 08:30:33 +08:00
insertNodes: fix invariant cases + add more test coverage (#760)
* Add unit tests are insertNodes logic * Revise tests
This commit is contained in:

committed by
acywatson

parent
ab6c9afafe
commit
4d31f5ac08
@ -41,5 +41,6 @@
|
||||
"39": "createNode: node does not exist in nodeMap",
|
||||
"40": "reconcileNode: prevNode or nextNode does not exist in nodeMap",
|
||||
"41": "reconcileNode: parentDOM is null",
|
||||
"42": "Reconciliation: could not find DOM element for node key \"${key}\""
|
||||
"42": "Reconciliation: could not find DOM element for node key \"${key}\"",
|
||||
"43": "insertNodes: cannot insert a non-block into a root node"
|
||||
}
|
||||
|
Reference in New Issue
Block a user