Kaynağa Gözat

Remove iframe from document after the test

Dmitri Pisarev 7 yıl önce
ebeveyn
işleme
295dcf3d34

+ 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 );
 		} );
 	} );