Skip to content

Commit

Permalink
Other: Remove env.isEdge. Closes #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 f55dd00 commit 83c4c90
Showing 1 changed file with 0 additions and 4 deletions.
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 83c4c90

Please sign in to comment.