adminBuffer.spec.tsx 535 B

12345678910111213141516171819
  1. import {render} 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. MockApiClient.addMockResponse({
  9. url: '/internal/stats/',
  10. body: [],
  11. });
  12. const wrapper = render(<AdminBuffer />);
  13. expect(wrapper.container).toSnapshot();
  14. });
  15. });
  16. });