import * as React from 'react' import {render} from '@testing-library/react' import {VisuallyHidden} from './index' describe('', () => { it('should add styles', () => { expect( render( Foo ).asFragment() ).toMatchSnapshot('Without child styles') expect( render( Foo ).asFragment() ).toMatchSnapshot('With child styles') }) })