Browse Source

Tests: Silenced warning in tests output. Closes #151.

Aleksander Nowodzinski 8 years ago
parent
commit
dc268364db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-ui/tests/template.js

+ 1 - 1
packages/ckeditor5-ui/tests/template.js

@@ -1637,7 +1637,7 @@ describe( 'Template', () => {
 		} );
 
 		it( 'logs a warning if an element has already been rendered', () => {
-			const spy = testUtils.sinon.spy( log, 'warn' );
+			const spy = testUtils.sinon.stub( log, 'warn' );
 
 			const tpl = new Template( {
 				tag: 'p'