Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/VisualEditor/lib/ve/tests/ve.Node.test.js
Ðазад
/*! * VisualEditor Node tests. * * @copyright See AUTHORS.txt */ QUnit.module( 've.Node' ); /* Stubs */ ve.NodeStub = function VeNodeStub() { // Parent constructor ve.Node.call( this ); }; OO.inheritClass( ve.NodeStub, ve.Node ); ve.NodeStub.static.name = 'stub'; /* Tests */ QUnit.test( 'getType', ( assert ) => { const node = new ve.NodeStub(); assert.strictEqual( node.getType(), 'stub' ); } ); QUnit.test( 'getParent', ( assert ) => { const node = new ve.NodeStub(); assert.strictEqual( node.getParent(), null ); } ); QUnit.test( 'getRoot', ( assert ) => { const node = new ve.NodeStub(); assert.strictEqual( node.getRoot(), null ); } );
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка