import * as React from 'react'; import { mount } from 'enzyme'; import Drawer from '../Drawer'; describe('', () => { const children =

Test

; describe('when default props are provided', () => { it('default OffCanvas with default props', () => { const drawerMenu = mount({children}); expect(drawerMenu.prop('mode')).toBeUndefined; expect(drawerMenu.prop('overlay')).toBeUndefined; expect(drawerMenu.prop('flip')).toBeUndefined; }); }); });