import {render, screen} from 'sentry-test/reactTestingLibrary'; import Tag from 'sentry/components/tagDeprecated'; describe('Tag (deprecated)', function () { it('renders', async function () { const {container} = render( Text to Copy ); expect(await screen.findByText('Text to Copy')).toBeInTheDocument(); expect(container).toSnapshot(); }); });