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 bcc0820 commit 5102f44
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/ckeditor5-page-break/tests/pagebreakediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import PageBreakCommand from '../src/pagebreakcommand';
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( 'PageBreakEditing', () => {
Expand All @@ -18,9 +17,6 @@ describe( 'PageBreakEditing', () => {
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: [ PageBreakEditing ]
Expand Down

0 comments on commit 5102f44

Please sign in to comment.