adminBuffer.spec.jsx 530 B

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