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 ff84956 commit 2986a17
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/mediaembedediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import MediaEmbedEditing from '../src/mediaembedediting';
import { setData as setModelData, getData as getModelData } from '@ckeditor/ckeditor5-engine/src/dev-utils/model';
import { getData as getViewData } from '@ckeditor/ckeditor5-engine/src/dev-utils/view';
import normalizeHtml from '@ckeditor/ckeditor5-utils/tests/_utils/normalizehtml';
import env from '@ckeditor/ckeditor5-utils/src/env';

describe( 'MediaEmbedEditing', () => {
let editor, model, doc, view;
Expand Down Expand Up @@ -54,11 +53,6 @@ describe( 'MediaEmbedEditing', () => {
}
};

beforeEach( () => {
// Most tests assume non-edge environment but we do not set `contenteditable=false` on Edge so stub `env.isEdge`.
sinon.stub( env, 'isEdge' ).get( () => false );
} );

afterEach( () => {
sinon.restore();
} );
Expand Down

0 comments on commit 2986a17

Please sign in to comment.