Explorar o código

Some clean-up first.

Aleksander Nowodzinski %!s(int64=8) %!d(string=hai) anos
pai
achega
27cd6f6840
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      packages/ckeditor5-utils/tests/collection.js

+ 0 - 3
packages/ckeditor5-utils/tests/collection.js

@@ -206,7 +206,6 @@ describe( 'Collection', () => {
 		} );
 
 		it( 'should support an optional index argument', () => {
-			let collection = new Collection();
 			let item1 = getItem( 'foo' );
 			let item2 = getItem( 'bar' );
 			let item3 = getItem( 'baz' );
@@ -224,7 +223,6 @@ describe( 'Collection', () => {
 		} );
 
 		it( 'should throw when index argument is invalid', () => {
-			let collection = new Collection();
 			let item1 = getItem( 'foo' );
 			let item2 = getItem( 'bar' );
 			let item3 = getItem( 'baz' );
@@ -602,7 +600,6 @@ describe( 'Collection', () => {
 
 			describe( 'callback', () => {
 				it( 'creates a binding (arrow function)', () => {
-					collection = new Collection();
 					collection.bindTo( items ).using( ( item ) => {
 						return new FactoryClass( item );
 					} );