mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 01:16:30 +00:00
0f0c3c9939
* Don't crash if b.children has a different length than expected * Don't crash if b.children is absent but expected * Check if b.children is present when it's not expected * Add assertion when neither a.children not b.children are present; this makes the number of assertions for leaves equal to the number of assertions for branches * Check attributes too * Accept a desc parameter, and add node paths (like list/listItem/paragraph/text) to the descriptions * Use desc parameter for all calls (some tests were already using it, even though it didn't actually exist) Change-Id: Ic56d27d20377e7f4fdfa038fdf4ebe00dcb3e062 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
image.png | ||
index.html | ||
ve.BranchNode.test.js | ||
ve.Document.test.js | ||
ve.example.js | ||
ve.LeafNode.test.js | ||
ve.Node.test.js | ||
ve.NodeFactory.test.js |