| 1 | /*! |
| 2 | * VisualEditor LeafNode tests. |
| 3 | * |
| 4 | * @copyright See AUTHORS.txt |
| 5 | */ |
| 6 | |
| 7 | QUnit.module( 've.LeafNode' ); |
| 8 | |
| 9 | /* Stubs */ |
| 10 | |
| 11 | ve.LeafNodeStub = function VeLeafNodeStub() { |
| 12 | // Parent constructor |
| 13 | ve.LeafNode.call( this ); |
| 14 | }; |
| 15 | |
| 16 | OO.inheritClass( ve.LeafNodeStub, ve.LeafNode ); |
| 17 | |
| 18 | ve.LeafNodeStub.static.name = 'leaf-stub'; |
| 19 | |
| 20 | /* Tests */ |