import * as React from 'react'; import { ShallowWrapper } from 'enzyme'; import { shallow, utilsToUse } from '../test-utils'; import { Month, MonthProps } from '../../views/Calendar/Month'; describe('Month', () => { let component: ShallowWrapper; beforeEach(() => { component = shallow( Oct ); }); it('Should render', () => { expect(component).toBeTruthy(); }); }); describe('Month - disabled state', () => { let component: ShallowWrapper; beforeEach(() => { component = shallow( Oct ); }); it('Should render in disabled state', () => { expect(component.prop('tabIndex')).toBe(-1); }); });