mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
25 lines
656 B
TypeScript
25 lines
656 B
TypeScript
import {MOCK_RESP_VERBOSE} from 'sentry-fixture/ruleConditions';
|
|
|
|
import {initializeOrg} from 'sentry-test/initializeOrg';
|
|
import {render} from 'sentry-test/reactTestingLibrary';
|
|
|
|
import NewProject from 'sentry/views/projectInstall/newProject';
|
|
|
|
describe('NewProjectPlatform', function () {
|
|
beforeEach(() => {
|
|
MockApiClient.addMockResponse({
|
|
url: `/projects/org-slug/rule-conditions/`,
|
|
body: MOCK_RESP_VERBOSE,
|
|
});
|
|
});
|
|
|
|
afterEach(() => {
|
|
MockApiClient.clearMockResponses();
|
|
});
|
|
|
|
it('should render', function () {
|
|
const {routerContext} = initializeOrg();
|
|
render(<NewProject />, {context: routerContext});
|
|
});
|
|
});
|