Skip to content

Commit

Permalink
Merge branch i/6202-remove-env.isEdge to master.
Browse files Browse the repository at this point in the history
Internal: Removed mentions on Edge. See #6202.
  • Loading branch information
Reinmar committed Apr 20, 2020
2 parents 943835a + 9d793f7 commit bc6048b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/ckeditor5-media-embed/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 bc6048b

Please sign in to comment.