Skip to content

Commit

Permalink
Test (engine): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
illia-stv committed Aug 30, 2023
1 parent 95afdeb commit a95c157
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ describe( 'SelectionObserver', () => {
selectionObserver.listenTo( domMain, 'selectstart', selectStartChangedSpy, { priority: 'highest' } );

// The event was fired somewhere else in DOM.
domDocument.dispatchEvent( new Event( 'selectstart' ) );

expect( viewDocument.isSelecting ).to.be.false;
sinon.assert.notCalled( selectStartChangedSpy );
Expand Down

0 comments on commit a95c157

Please sign in to comment.