apiNewToken.spec.jsx 441 B

1234567891011121314151617
  1. import React from 'react';
  2. import {shallow} from 'sentry-test/enzyme';
  3. import ApiNewToken from 'app/views/settings/account/apiNewToken';
  4. describe('ApiNewToken', function() {
  5. describe('render()', function() {
  6. it('renders', function() {
  7. const wrapper = shallow(<ApiNewToken params={{}} />, {
  8. context: {
  9. router: TestStubs.router(),
  10. },
  11. });
  12. expect(wrapper).toMatchSnapshot();
  13. });
  14. });
  15. });