import React from 'react' ; import { render } from '@toptal/picasso/test-utils' ; import Logo from '../Logo' ; import SidebarLogo , { Props } from './SidebarLogo' ; const TestSidebarLogo = ( { children } ) => ( < SidebarLogo > { children } < /SidebarLogo>); describe ( 'SidebarLogo' , ( ) => { it ( 'renders' , ( ) => { const { container } = render ( < TestSidebarLogo > < Logo /> < /TestSidebarLogo>); expect ( container ) . toMatchSnapshot ( ) ; } ) ; } ) ;