toolbarHeader.spec.jsx 490 B

12345678910111213141516171819
  1. import {render, screen} from 'sentry-test/reactTestingLibrary';
  2. import ToolbarHeader from 'sentry/components/toolbarHeader';
  3. describe('ToolbarHeader', function () {
  4. beforeEach(function () {});
  5. afterEach(function () {});
  6. it('renders', function () {
  7. const {container} = render(
  8. <ToolbarHeader>
  9. <div>Toolbar Header</div>
  10. </ToolbarHeader>
  11. );
  12. expect(screen.getByText('Toolbar Header')).toBeInTheDocument();
  13. expect(container).toSnapshot();
  14. });
  15. });