adminBuffer.spec.jsx 516 B

123456789101112131415161718
  1. import {mountWithTheme} from 'sentry-test/enzyme';
  2. import AdminBuffer from 'app/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 = mountWithTheme(<AdminBuffer params={{}} />, {
  9. context: {
  10. router: TestStubs.router(),
  11. },
  12. });
  13. expect(wrapper).toSnapshot();
  14. });
  15. });
  16. });