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

Commit

Permalink
Alter test 'should not be treated as an infinite loop if changes are …
Browse files Browse the repository at this point in the history
…not often' test on Edge.
  • Loading branch information
jodator committed Dec 5, 2018
1 parent 8f47ad3 commit 0caf012
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/view/observer/selectionobserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ describe( 'SelectionObserver', () => {

for ( let i = 0; i < 50; i++ ) {
changeDomSelection();

if ( env.isEdge ) {
extendDomSelection();
}
}
} );
}
Expand Down

0 comments on commit 0caf012

Please sign in to comment.