浏览代码

Fixed codestyle.

Maciej Bukowski 6 年之前
父节点
当前提交
d1f7183435

+ 1 - 1
packages/ckeditor5-engine/tests/conversion/conversion.js

@@ -81,7 +81,7 @@ describe( 'Conversion', () => {
 
 		it( 'should be chainable', () => {
 			const helpers = conversion.for( 'upcast' );
-			const addResult = helpers.add( () => { } );
+			const addResult = helpers.add( () => {} );
 
 			expect( addResult ).to.equal( helpers );
 		} );

+ 2 - 2
packages/ckeditor5-engine/tests/conversion/downcastdispatcher.js

@@ -392,8 +392,8 @@ describe( 'DowncastDispatcher', () => {
 			const viewFigure = new ViewContainerElement( 'figure', null, viewCaption );
 
 			// Create custom highlight handler mock.
-			viewFigure._setCustomProperty( 'addHighlight', () => { } );
-			viewFigure._setCustomProperty( 'removeHighlight', () => { } );
+			viewFigure._setCustomProperty( 'addHighlight', () => {} );
+			viewFigure._setCustomProperty( 'removeHighlight', () => {} );
 
 			// Create mapper mock.
 			dispatcher.conversionApi.mapper = {

+ 2 - 2
packages/ckeditor5-engine/tests/model/document.js

@@ -44,7 +44,7 @@ describe( 'Document', () => {
 				baseVersion: 0,
 				isDocumentOperation: true,
 				_execute: sinon.stub().returns( data ),
-				_validate: () => { }
+				_validate: () => {}
 			};
 
 			batch = new Batch();
@@ -82,7 +82,7 @@ describe( 'Document', () => {
 			const operation = {
 				baseVersion: 1,
 				isDocumentOperation: true,
-				_execute: () => { }
+				_execute: () => {}
 			};
 
 			expectToThrowCKEditorError( () => {