8
0
Просмотр исходного кода

Upgraded tests to the latest Chai and Sinon version.

Kamil Piechaczek 8 лет назад
Родитель
Сommit
6937418315
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/ckeditor5-core/tests/commandcollection.js

+ 2 - 2
packages/ckeditor5-core/tests/commandcollection.js

@@ -66,7 +66,7 @@ describe( 'CommandCollection', () => {
 		it( 'returns iterator', () => {
 			const names = collection.names();
 
-			expect( names.next ).to.be.a.function;
+			expect( names.next ).to.be.a( 'function' );
 		} );
 
 		it( 'returns iterator of command names', () => {
@@ -81,7 +81,7 @@ describe( 'CommandCollection', () => {
 		it( 'returns iterator', () => {
 			const commands = collection.commands();
 
-			expect( commands.next ).to.be.a.function;
+			expect( commands.next ).to.be.a( 'function' );
 		} );
 
 		it( 'returns iterator of commands', () => {