|
|
@@ -49,10 +49,10 @@ describe( 'DropdownPanelView', () => {
|
|
|
} );
|
|
|
|
|
|
describe( 'listeners', () => {
|
|
|
- describe( 'mousedown', () => {
|
|
|
+ describe( 'selectstart', () => {
|
|
|
// https://github.com/ckeditor/ckeditor5-ui/issues/228
|
|
|
it( 'gets preventDefault called', () => {
|
|
|
- const event = new Event( 'mousedown' );
|
|
|
+ const event = new Event( 'selectstart' );
|
|
|
const spy = sinon.spy( event, 'preventDefault' );
|
|
|
|
|
|
view.element.dispatchEvent( event );
|