8
0
فهرست منبع

Made Karma complain less.

Piotrek Koszuliński 9 سال پیش
والد
کامیت
fcac07bb60

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

@@ -17,7 +17,7 @@ describe( 'ComponentFactory', () => {
 		factory = new ComponentFactory( editor );
 	} );
 
-	describe( 'constructor', () => {
+	describe( 'constructor()', () => {
 		it( 'sets all the properties', () => {
 			expect( factory ).to.have.property( 'editor', editor );
 		} );

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

@@ -19,7 +19,7 @@ let ParentController, ParentView;
 testUtils.createSinonSandbox();
 
 describe( 'Controller', () => {
-	describe( 'constructor', () => {
+	describe( 'constructor()', () => {
 		it( 'defines basic properties', () => {
 			const controller = new Controller();
 

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

@@ -28,7 +28,7 @@ describe( 'ControllerCollection', () => {
 		createModelCollection();
 	} );
 
-	describe( 'constructor', () => {
+	describe( 'constructor()', () => {
 		it( 'should throw when no name is passed', () => {
 			expect( () => {
 				new ControllerCollection();

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

@@ -16,7 +16,7 @@ let region, el;
 describe( 'View', () => {
 	beforeEach( createRegionInstance );
 
-	describe( 'constructor', () => {
+	describe( 'constructor()', () => {
 		it( 'accepts name', () => {
 			expect( region.name ).to.be.equal( 'foo' );
 			expect( region.element ).to.be.null;

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

@@ -22,7 +22,7 @@ testUtils.createSinonSandbox();
 let el, text;
 
 describe( 'Template', () => {
-	describe( 'constructor', () => {
+	describe( 'constructor()', () => {
 		it( 'accepts and normalizes the definition', () => {
 			const bind = Template.bind( new Model( {} ), Object.create( DOMEmitterMixin ) );
 			const tpl = new Template( {

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

@@ -17,7 +17,7 @@ let TestView, view;
 testUtils.createSinonSandbox();
 
 describe( 'View', () => {
-	describe( 'constructor', () => {
+	describe( 'constructor()', () => {
 		beforeEach( () => {
 			setTestViewClass();
 			setTestViewInstance();