newTokenHandler.spec.tsx 388 B

123456789101112
  1. import {ApiTokenFixture} from 'sentry-fixture/apiToken';
  2. import {render} from 'sentry-test/reactTestingLibrary';
  3. import NewTokenHandler from 'sentry/views/settings/components/newTokenHandler';
  4. describe('NewTokenHandler', () => {
  5. it('renders', () => {
  6. const callback = ({}) => {};
  7. render(<NewTokenHandler token={ApiTokenFixture().token} handleGoBack={callback} />);
  8. });
  9. });