12345678910111213141516171819 |
- import {render, screen} from 'sentry-test/reactTestingLibrary';
- import ToolbarHeader from 'sentry/components/toolbarHeader';
- describe('ToolbarHeader', function () {
- beforeEach(function () {});
- afterEach(function () {});
- it('renders', function () {
- const {container} = render(
- <ToolbarHeader>
- <div>Toolbar Header</div>
- </ToolbarHeader>
- );
- expect(screen.getByText('Toolbar Header')).toBeInTheDocument();
- expect(container).toSnapshot();
- });
- });
|