|
@@ -48,10 +48,6 @@ describe( 'TreeWalker', () => {
|
|
|
rootEnding = new Position( root, 2 );
|
|
rootEnding = new Position( root, 2 );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
- afterEach( () => {
|
|
|
|
|
- doc.destroy();
|
|
|
|
|
- } );
|
|
|
|
|
-
|
|
|
|
|
describe( 'constructor()', () => {
|
|
describe( 'constructor()', () => {
|
|
|
it( 'should throw if neither boundaries nor starting position is set', () => {
|
|
it( 'should throw if neither boundaries nor starting position is set', () => {
|
|
|
expect( () => {
|
|
expect( () => {
|