8
0
Просмотр исходного кода

Fix unit test to expect font color and font background color plugin.

Mateusz Samsel 6 лет назад
Родитель
Сommit
5b86284662
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      packages/ckeditor5-font/tests/font.js

+ 4 - 2
packages/ckeditor5-font/tests/font.js

@@ -6,10 +6,12 @@
 import Font from './../src/font';
 import Font from './../src/font';
 import FontFamily from './../src/fontfamily';
 import FontFamily from './../src/fontfamily';
 import FontSize from './../src/fontsize';
 import FontSize from './../src/fontsize';
+import FontColor from './../src/fontcolor';
+import FontBackgroundColor from './../src/fontbackgroundcolor';
 
 
 describe( 'Font', () => {
 describe( 'Font', () => {
-	it( 'requires FontSize', () => {
-		expect( Font.requires ).to.deep.equal( [ FontFamily, FontSize ] );
+	it( 'requires FontFamily, FontSize, FontColor, FontBackgroundColor', () => {
+		expect( Font.requires ).to.deep.equal( [ FontFamily, FontSize, FontColor, FontBackgroundColor ] );
 	} );
 	} );
 
 
 	it( 'defines plugin name', () => {
 	it( 'defines plugin name', () => {