8
0
Aleksander Nowodzinski 9 лет назад
Родитель
Сommit
7c4fd259b6
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      packages/ckeditor5-ui/tests/viewcollection.js

+ 6 - 6
packages/ckeditor5-ui/tests/viewcollection.js

@@ -193,7 +193,7 @@ describe( 'ViewCollection', () => {
 		} );
 		} );
 	} );
 	} );
 
 
-	describe( 'bindTo', () => {
+	describe( 'bindTo()', () => {
 		class ViewClass extends View {
 		class ViewClass extends View {
 			constructor( locale, data ) {
 			constructor( locale, data ) {
 				super( locale );
 				super( locale );
@@ -206,14 +206,14 @@ describe( 'ViewCollection', () => {
 			}
 			}
 		}
 		}
 
 
-		it( 'provides "as" interface', () => {
+		it( 'provides "as()" interface', () => {
 			const returned = collection.bindTo( {} );
 			const returned = collection.bindTo( {} );
 
 
 			expect( returned ).to.have.keys( 'as' );
 			expect( returned ).to.have.keys( 'as' );
 			expect( returned.as ).to.be.a( 'function' );
 			expect( returned.as ).to.be.a( 'function' );
 		} );
 		} );
 
 
-		describe( 'as', () => {
+		describe( 'as()', () => {
 			it( 'does not chain', () => {
 			it( 'does not chain', () => {
 				const returned = collection.bindTo( new Collection() ).as( ViewClass );
 				const returned = collection.bindTo( new Collection() ).as( ViewClass );
 
 
@@ -304,7 +304,7 @@ describe( 'ViewCollection', () => {
 		} );
 		} );
 	} );
 	} );
 
 
-	describe( 'delegate', () => {
+	describe( 'delegate()', () => {
 		it( 'should throw when event names are not strings', () => {
 		it( 'should throw when event names are not strings', () => {
 			expect( () => {
 			expect( () => {
 				collection.delegate();
 				collection.delegate();
@@ -323,14 +323,14 @@ describe( 'ViewCollection', () => {
 			expect( collection.delegate( 'foo' ) ).to.be.an( 'object' );
 			expect( collection.delegate( 'foo' ) ).to.be.an( 'object' );
 		} );
 		} );
 
 
-		it( 'provides "to" interface', () => {
+		it( 'provides "to()" interface', () => {
 			const delegate = collection.delegate( 'foo' );
 			const delegate = collection.delegate( 'foo' );
 
 
 			expect( delegate ).to.have.keys( 'to' );
 			expect( delegate ).to.have.keys( 'to' );
 			expect( delegate.to ).to.be.a( 'function' );
 			expect( delegate.to ).to.be.a( 'function' );
 		} );
 		} );
 
 
-		describe( 'to', () => {
+		describe( 'to()', () => {
 			it( 'does not chain', () => {
 			it( 'does not chain', () => {
 				const returned = collection.delegate( 'foo' ).to( {} );
 				const returned = collection.delegate( 'foo' ).to( {} );