import {mountWithTheme} from 'sentry-test/enzyme';
import {BreadcrumbContextProvider} from 'sentry-test/providers/breadcrumbContextProvider';
import {Client} from 'sentry/api';
import SettingsLayout from 'sentry/views/settings/components/settingsLayout';
describe('SettingsLayout', function () {
beforeEach(function () {
Client.clearMockResponses();
Client.addMockResponse({
url: '/internal/health/',
body: {
problems: [],
},
});
Client.addMockResponse({
url: '/organizations/',
body: [TestStubs.Organization()],
});
Client.addMockResponse({
url: '/organizations/org-slug/',
method: 'DELETE',
statusCode: 401,
body: {
sudoRequired: true,
},
});
Client.addMockResponse({
url: '/authenticators/',
body: [],
});
});
it('renders', function () {
const wrapper = mountWithTheme(