|
@@ -4,11 +4,12 @@
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
import Font from './../src/font';
|
|
import Font from './../src/font';
|
|
|
|
|
+import FontFamily from './../src/fontfamily';
|
|
|
import FontSize from './../src/fontsize';
|
|
import FontSize from './../src/fontsize';
|
|
|
|
|
|
|
|
describe( 'Font', () => {
|
|
describe( 'Font', () => {
|
|
|
it( 'requires FontSize', () => {
|
|
it( 'requires FontSize', () => {
|
|
|
- expect( Font.requires ).to.deep.equal( [ FontSize ] );
|
|
|
|
|
|
|
+ expect( Font.requires ).to.deep.equal( [ FontFamily, FontSize ] );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
it( 'defines plugin name', () => {
|
|
it( 'defines plugin name', () => {
|