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 #39 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 authored Jul 12, 2019
2 parents a6fdf57 + 94d4777 commit 39a7da1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/ballooneditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

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

import BalloonEditorUI from '../src/ballooneditorui';
import BalloonEditorUIView from '../src/ballooneditoruiview';
Expand All @@ -20,7 +20,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 @@ -37,7 +36,7 @@ describe( 'BalloonEditor', () => {

document.body.appendChild( editorElement );

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

afterEach( () => {
Expand Down

0 comments on commit 39a7da1

Please sign in to comment.