import {Organization} from 'sentry-fixture/organization'; import {Repository} from 'sentry-fixture/repository'; import {render} from 'sentry-test/reactTestingLibrary'; import OrganizationRepositories from 'sentry/views/settings/organizationRepositories/organizationRepositories'; describe('OrganizationRepositories', function () { const org = Organization(); const router = TestStubs.router(); const location = router.location; const routerProps = {router, location, routeParams: {}, routes: [], route: {}}; it('renders without providers', function () { render( ); }); it('renders with a repository', function () { render( ); }); it('renders with a repository and github provider', function () { render( ); }); });