diffModal.spec.jsx 501 B

1234567891011121314151617181920
  1. import {render} from 'sentry-test/reactTestingLibrary';
  2. import DiffModal from 'sentry/components/modals/diffModal';
  3. describe('DiffModal', function () {
  4. it('renders', function () {
  5. const project = TestStubs.ProjectDetails();
  6. render(
  7. <DiffModal
  8. orgId="123"
  9. baseIssueId="123"
  10. targetIssueId="234"
  11. project={project}
  12. Body={({children}) => <div>{children}</div>}
  13. CloseButton={({children}) => <div>{children}</div>}
  14. />
  15. );
  16. });
  17. });