Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Tests: Fixed tests broken due to non–iterable nature of DOM element a…
Browse files Browse the repository at this point in the history
…ttributes in MSEdge (see ckeditor/ckeditor5#479).
  • Loading branch information
oleq committed Feb 7, 2019
1 parent edd400f commit 6e21550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/decouplededitorui.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ describe( 'DecoupledEditorUI', () => {
.then( () => {
const attributes = {};

for ( const attribute of domElement.attributes ) {
for ( const attribute of Array.from( domElement.attributes ) ) {
attributes[ attribute.name ] = attribute.value;
}

Expand Down

0 comments on commit 6e21550

Please sign in to comment.