瀏覽代碼

Code style: fix code issues.

Maciej Gołaszewski 5 年之前
父節點
當前提交
309c03c96a

+ 1 - 1
packages/ckeditor5-heading/tests/headingbuttonsui.js

@@ -124,7 +124,7 @@ describe( 'HeadingButtonUI', () => {
 					heading: {
 						options: [
 							{ model: 'paragraph' },
-							{ model: 'heading1', view: 'h2', icon: customIcon },
+							{ model: 'heading1', view: 'h2', icon: customIcon }
 						]
 					},
 					plugins: [ HeadingButtonsUI, HeadingEditing ],

+ 3 - 3
packages/ckeditor5-heading/tests/headingui.js

@@ -25,7 +25,7 @@ describe( 'HeadingUI', () => {
 			'Paragraph': 'Paragraph',
 			'Heading': 'Heading',
 			'Heading 1': 'Heading 1',
-			'Heading 2': 'Heading 2',
+			'Heading 2': 'Heading 2'
 		} );
 
 		addTranslations( 'pl', {
@@ -33,7 +33,7 @@ describe( 'HeadingUI', () => {
 			'Paragraph': 'Akapit',
 			'Heading': 'Nagłówek',
 			'Heading 1': 'Nagłówek 1',
-			'Heading 2': 'Nagłówek 2',
+			'Heading 2': 'Nagłówek 2'
 		} );
 	} );
 
@@ -211,7 +211,7 @@ describe( 'HeadingUI', () => {
 
 					expect( listView.items.map( item => item.children.first.label ) ).to.deep.equal( [
 						'Custom paragraph title',
-						'Custom heading1 title',
+						'Custom heading1 title'
 					] );
 				} );
 			} );