mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
23 lines
605 B
TypeScript
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/"
|
|
/>
|
|
))
|
|
);
|
|
});
|
|
});
|