|
|
it( 'should return position parent element and it\'s ancestors', () => {
|
|
it( 'should return position parent element and it\'s ancestors', () => {
|
|
|
expect( new Position( root, [ 1, 1, 1 ] ).getAncestors() ).to.deep.equal( [ li2, ul, root ] );
|
|
expect( new Position( root, [ 1, 1, 1 ] ).getAncestors() ).to.deep.equal( [ li2, ul, root ] );
|
|
|
describe( 'getCommonPath', () => {
|
|
describe( 'getCommonPath', () => {
|