suggestProjectModal.spec.jsx 538 B

123456789101112131415161718
  1. import {render} from 'sentry-test/reactTestingLibrary';
  2. import SuggestProjectModal from 'sentry/components/modals/suggestProjectModal';
  3. describe('SuggestProjectModal', function () {
  4. it('renders', function () {
  5. const props = {
  6. organization: TestStubs.Organization(),
  7. matchedUserAgentString: 'okhttp/',
  8. Body: p => p.children,
  9. Header: p => p.children,
  10. Footer: p => p.children,
  11. };
  12. const wrapper = render(<SuggestProjectModal {...props} />);
  13. expect(wrapper.container).toSnapshot();
  14. });
  15. });