12345678910111213141516 |
- import {render, screen} from 'sentry-test/reactTestingLibrary';
- import AdminBuffer from 'sentry/views/admin/adminBuffer';
- // TODO(dcramer): this doesnt really test anything as we need to
- // mock the API Response/wait on it
- describe('AdminBuffer', function () {
- describe('render()', function () {
- it('renders', function () {
- const wrapper = render(<AdminBuffer params={{}} />);
- expect(screen.getAllByTestId('loading-indicator')).toHaveLength(2);
- expect(wrapper.container).toSnapshot();
- });
- });
- });
|