newProject.spec.tsx 528 B

12345678910111213141516171819202122
  1. import {MOCK_RESP_VERBOSE} from 'sentry-fixture/ruleConditions';
  2. import {render} from 'sentry-test/reactTestingLibrary';
  3. import NewProject from 'sentry/views/projectInstall/newProject';
  4. describe('NewProjectPlatform', function () {
  5. beforeEach(() => {
  6. MockApiClient.addMockResponse({
  7. url: `/projects/org-slug/rule-conditions/`,
  8. body: MOCK_RESP_VERBOSE,
  9. });
  10. });
  11. afterEach(() => {
  12. MockApiClient.clearMockResponses();
  13. });
  14. it('should render', function () {
  15. render(<NewProject />);
  16. });
  17. });