returnButton.spec.tsx 405 B

1234567891011
  1. import {render, screen} from 'sentry-test/reactTestingLibrary';
  2. import ReturnButton from 'sentry/components/forms/returnButton';
  3. describe('returnButton', function () {
  4. it('renders', async function () {
  5. const {container} = render(<ReturnButton data-test-id="returnButton" />);
  6. expect(await screen.findByTestId('returnButton')).toBeInTheDocument();
  7. expect(container).toSnapshot();
  8. });
  9. });