import React from 'react'; import { render } from '../../utils/test-react-testing-library'; import Tag from './Tag'; describe(' component', () => { test('should load the component in default state', () => { const { container } = render( {'I am a child'} ); expect(container.firstChild).toMatchSnapshot(); }); });