import {initializeOrg} from 'sentry-test/initializeOrg'; import {render} from 'sentry-test/reactTestingLibrary'; import ProjectExpectCtReports from 'sentry/views/settings/projectSecurityHeaders/expectCt'; describe('ProjectExpectCtReports', function () { const {organization, project, routerProps} = initializeOrg(); const url = `/projects/${organization.slug}/${project.slug}/expect-ct/`; beforeEach(function () { MockApiClient.clearMockResponses(); MockApiClient.addMockResponse({ url: `/projects/${organization.slug}/${project.slug}/keys/`, method: 'GET', body: [], }); }); it('renders', function () { const {container} = render( ); expect(container).toSnapshot(); }); });