From 8f91c0d0cedc77417e392910365c32654889b128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Wytr=C4=99bowicz?= Date: Fri, 17 Apr 2020 09:43:33 +0200 Subject: [PATCH] Other: Remove `env.isEdge`. Closes ckeditor/ckeditor5#6202. Remove some special cases for Edge, as since it's Chromium-based now, it behaves closer to others. --- tests/horizontallineediting.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/horizontallineediting.js b/tests/horizontallineediting.js index e177745..4e36686 100644 --- a/tests/horizontallineediting.js +++ b/tests/horizontallineediting.js @@ -9,7 +9,6 @@ import HorizontalLineCommand from '../src/horizontallinecommand'; import { getData as getModelData, setData as setModelData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model'; import { getData as getViewData } from '@ckeditor/ckeditor5-engine/src/dev-utils/view'; import { isWidget } from '@ckeditor/ckeditor5-widget/src/utils'; -import env from '@ckeditor/ckeditor5-utils/src/env'; import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils'; describe( 'HorizontalLineEditing', () => { @@ -18,9 +17,6 @@ describe( 'HorizontalLineEditing', () => { testUtils.createSinonSandbox(); beforeEach( () => { - // Most tests assume non-edge environment but we do not set `contenteditable=false` on Edge so stub `env.isEdge`. - testUtils.sinon.stub( env, 'isEdge' ).get( () => false ); - return VirtualTestEditor .create( { plugins: [ HorizontalLineEditing ]