Browse Source

Remove iframe from document after the test

Dmitri Pisarev 7 years ago
parent
commit
295dcf3d34
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/ckeditor5-engine/tests/view/filler.js

+ 2 - 0
packages/ckeditor5-engine/tests/view/filler.js

@@ -118,6 +118,8 @@ describe( 'filler', () => {
 			const node = iframe.contentDocument.createTextNode( INLINE_FILLER );
 
 			expect( isInlineFiller( node ) ).to.be.true;
+
+			document.body.removeChild( iframe );
 		} );
 	} );