8
0
Просмотр исходного кода

Update env.isEdge stub comment.

Maciej Gołaszewski 6 лет назад
Родитель
Сommit
61d2191d04
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-mention/tests/mentionui.js

+ 1 - 1
packages/ckeditor5-mention/tests/mentionui.js

@@ -479,7 +479,7 @@ describe( 'MentionUI', () => {
 			} );
 
 			it( 'should fallback to old method if browser does not support unicode property escapes (on Edge)', () => {
-				// Most tests assume non-edge environment but we do not set `contenteditable=false` on Edge so stub `env.isEdge`.
+				// Stub the isEdge for covarage tests in other browsers.
 				testUtils.sinon.stub( env, 'isEdge' ).get( () => true );
 
 				setData( model, '<paragraph>[] foo</paragraph>' );