As it was accidentally pushed to the master, instead of i/6202-remove-env.isEdge This reverts commit 9427addeae19dddcfa711915b5d8fcacdab3c43f.
@@ -131,6 +131,7 @@ describe( 'IconView', () => {
} );
function assertIconInnerHTML( icon, expected ) {
- expect( normalizeHtml( icon.element.innerHTML ) )
+ // Edge adds the xmlns attribute to each node when obtaining from parent's innerHTML.
+ expect( normalizeHtml( icon.element.innerHTML.replace( /xmlns="[^"]+"/, '' ) ) )
.to.equal( expected );
}