Explorar el Código

Remove iframe from document after the test

Dmitri Pisarev hace 7 años
padre
commit
295dcf3d34
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 );
 		} );
 	} );