|
|
@@ -45,6 +45,10 @@ describe( 'Italic', () => {
|
|
|
|
|
|
it( 'should register italic feature component', () => {
|
|
|
expect( italicView ).to.be.instanceOf( ButtonView );
|
|
|
+ expect( italicView.isOn ).to.be.false;
|
|
|
+ expect( italicView.label ).to.equal( 'Italic' );
|
|
|
+ expect( italicView.icon ).to.equal( 'italic' );
|
|
|
+ expect( italicView.keystroke ).to.equal( 'CTRL+I' );
|
|
|
} );
|
|
|
|
|
|
it( 'should execute italic command on model execute event', () => {
|