Sfoglia il codice sorgente

Fix dangling comma.

Maciej Gołaszewski 5 anni fa
parent
commit
661b9a2cf9

+ 1 - 1
packages/ckeditor5-core/tests/editor/editor.js

@@ -149,7 +149,7 @@ describe( 'Editor', () => {
 				bar: 'foo',
 				foo: {
 					c: 3
-				},
+				}
 			} );
 
 			expect( editor.config.get( 'foo' ) ).to.deep.equal( {

+ 1 - 1
packages/ckeditor5-core/tests/manual/formsubmit.js

@@ -14,7 +14,7 @@ document.getElementById( 'form' ).submit = () => {};
 ClassicEditor
 	.create( document.querySelector( '#editor' ), {
 		plugins: [ ArticlePluginSet ],
-		toolbar: [ 'bold', 'italic', 'undo', 'redo' ],
+		toolbar: [ 'bold', 'italic', 'undo', 'redo' ]
 	} )
 	.then( editor => {
 		window.editor = editor;

+ 1 - 1
packages/ckeditor5-core/tests/manual/pendingactions.js

@@ -15,7 +15,7 @@ ClassicEditor
 		plugins: [ ArticlePluginSet, PendingActions ],
 		toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
 		image: {
-			toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ],
+			toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
 		}
 	} )
 	.then( editor => {

+ 1 - 1
packages/ckeditor5-core/tests/manual/readonly.js

@@ -15,7 +15,7 @@ ClassicEditor
 		plugins: [ ArticlePluginSet, BalloonToolbar ],
 		toolbar: [ 'heading', '|', 'bold', 'italic', 'link', 'bulletedList', 'numberedList', 'blockQuote', 'undo', 'redo' ],
 		image: {
-			toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ],
+			toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ]
 		},
 		balloonToolbar: [ 'bold', 'italic', 'link' ]
 	} )

+ 1 - 1
packages/ckeditor5-core/tests/pendingactions.js

@@ -12,7 +12,7 @@ let editor, pendingActions;
 describe( 'PendingActions', () => {
 	beforeEach( () => {
 		return VirtualTestEditor.create( {
-			plugins: [ PendingActions ],
+			plugins: [ PendingActions ]
 		} ).then( newEditor => {
 			editor = newEditor;
 			pendingActions = editor.plugins.get( PendingActions );