ソースを参照

Code style: Aligned code style to new ESLint version.

Kamil Piechaczek 8 年 前
コミット
ad00f7cc06

+ 2 - 1
packages/ckeditor5-typing/tests/delete.js

@@ -11,7 +11,8 @@ describe( 'Delete feature', () => {
 	let editor, editingView;
 
 	beforeEach( () => {
-		return VirtualTestEditor.create( { plugins: [ Delete ] } )
+		return VirtualTestEditor
+			.create( { plugins: [ Delete ] } )
 			.then( newEditor => {
 				editor = newEditor;
 				editingView = editor.editing.view;

+ 7 - 1
packages/ckeditor5-typing/tests/deletecommand-integration.js

@@ -12,7 +12,13 @@ describe( 'DeleteCommand integration', () => {
 	let editor, doc;
 
 	beforeEach( () => {
-		return ModelTestEditor.create( { plugins: [ UndoEngine ], typing: { undoStep: 3 } } )
+		return ModelTestEditor
+			.create( {
+				plugins: [ UndoEngine ],
+				typing: {
+					undoStep: 3
+				}
+			} )
 			.then( newEditor => {
 				editor = newEditor;
 				doc = editor.document;

+ 4 - 1
packages/ckeditor5-typing/tests/input.js

@@ -39,7 +39,10 @@ describe( 'Input feature', () => {
 	before( () => {
 		listenter = Object.create( EmitterMixin );
 
-		return VirtualTestEditor.create( { plugins: [ Input, Paragraph ] } )
+		return VirtualTestEditor
+			.create( {
+				plugins: [ Input, Paragraph ]
+			} )
 			.then( newEditor => {
 				// Mock image feature.
 				newEditor.document.schema.registerItem( 'image', '$inline' );

+ 7 - 6
packages/ckeditor5-typing/tests/inputcommand.js

@@ -52,12 +52,13 @@ describe( 'InputCommand', () => {
 		} );
 
 		it( 'has a buffer configured to config.typing.undoStep', () => {
-			return VirtualTestEditor.create( {
-				plugins: [ Input ],
-				typing: {
-					undoStep: 5
-				}
-			} )
+			return VirtualTestEditor
+				.create( {
+					plugins: [ Input ],
+					typing: {
+						undoStep: 5
+					}
+				} )
 				.then( editor => {
 					expect( editor.commands.get( 'input' )._buffer ).to.have.property( 'limit', 5 );
 				} );