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

Commit

Permalink
Other: Remove env.isEdge. Closes ckeditor/ckeditor5#6202.
Browse files Browse the repository at this point in the history
Remove some special cases for Edge, as since it's Chromium-based now, it behaves closer to others.
  • Loading branch information
tomalec committed Apr 17, 2020
1 parent 72f18df commit 8f91c0d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/horizontallineediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand All @@ -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 ]
Expand Down

0 comments on commit 8f91c0d

Please sign in to comment.