1234567891011121314151617181920212223242526 |
- import {render} from 'sentry-test/reactTestingLibrary';
- import OrganizationRepositoriesContainer from 'sentry/views/settings/organizationRepositories';
- describe('OrganizationRepositoriesContainer', function () {
- beforeEach(function () {
- MockApiClient.clearMockResponses();
- });
- describe('without any providers', function () {
- beforeEach(function () {
- MockApiClient.addMockResponse({
- url: '/organizations/org-slug/repos/',
- body: [],
- });
- MockApiClient.addMockResponse({
- url: '/organizations/org-slug/config/repos/',
- body: {providers: []},
- });
- });
- it('is loading when initially rendering', function () {
- render(<OrganizationRepositoriesContainer />);
- });
- });
- });
|