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

Commit

Permalink
Merge pull request #97 from ckeditor/t/ckeditor5/383
Browse files Browse the repository at this point in the history
Internal: Removed usage of the CKEditor 5 logger. Part of ckeditor/ckeditor5#383.
  • Loading branch information
Piotr Jasiun committed Jul 12, 2019
2 parents 0a765ad + 6221ca4 commit 7c282c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/classiceditor.js
Expand Up @@ -3,7 +3,7 @@
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

/* globals document, Event */
/* globals document, Event, console */

import ClassicEditorUI from '../src/classiceditorui';
import ClassicEditorUIView from '../src/classiceditoruiview';
Expand All @@ -19,7 +19,6 @@ import ElementApiMixin from '@ckeditor/ckeditor5-core/src/editor/utils/elementap
import RootElement from '@ckeditor/ckeditor5-engine/src/model/rootelement';

import testUtils from '@ckeditor/ckeditor5-core/tests/_utils/utils';
import log from '@ckeditor/ckeditor5-utils/src/log';

import ArticlePluginSet from '@ckeditor/ckeditor5-core/tests/_utils/articlepluginset';
import { describeMemoryUsage, testMemoryUsage } from '@ckeditor/ckeditor5-core/tests/_utils/memory';
Expand All @@ -35,7 +34,7 @@ describe( 'ClassicEditor', () => {

document.body.appendChild( editorElement );

testUtils.sinon.stub( log, 'warn' ).callsFake( () => {} );
testUtils.sinon.stub( console, 'warn' ).callsFake( () => {} );
} );

afterEach( () => {
Expand Down

0 comments on commit 7c282c4

Please sign in to comment.