Files
sentinel/static/app/components/modals/suggestProjectModal.spec.tsx
2024-02-15 17:01:50 +00:00

23 lines
605 B
TypeScript

import {OrganizationFixture} from 'sentry-fixture/organization';
import {act, renderGlobalModal} from 'sentry-test/reactTestingLibrary';
import {openModal} from 'sentry/actionCreators/modal';
import SuggestProjectModal from 'sentry/components/modals/suggestProjectModal';
describe('SuggestProjectModal', function () {
it('renders', function () {
renderGlobalModal();
act(() =>
openModal(modalProps => (
<SuggestProjectModal
{...modalProps}
organization={OrganizationFixture()}
matchedUserAgentString="okhttp/"
/>
))
);
});
});