import { TEST_HOST } from 'helpers/test_constants'; export const initialRequest = { title: '

this is a title

', title_text: 'this is a title', description: '

this is a description!

', description_text: 'this is a description', task_completion_status: { completed_count: 2, count: 4 }, updated_at: '2015-05-15T12:31:04.428Z', updated_by_name: 'Some User', updated_by_path: '/some_user', lock_version: 1, }; export const secondRequest = { title: '

2

', title_text: '2', description: '

42

', description_text: '42', task_completion_status: { completed_count: 0, count: 0 }, updated_at: '2016-05-15T12:31:04.428Z', updated_by_name: 'Other User', updated_by_path: '/other_user', lock_version: 2, }; export const putRequest = { web_url: window.location.pathname, title: '

PUT

', title_text: 'PUT', description: '

PUT_DESC

', description_text: 'PUT_DESC', task_completion_status: { completed_count: 0, count: 0 }, updated_at: '2016-05-15T12:31:04.428Z', updated_by_name: 'Other User', updated_by_path: '/other_user', lock_version: 2, }; export const descriptionProps = { canUpdate: true, descriptionHtml: 'test', descriptionText: 'test', updateUrl: TEST_HOST, }; export const publishedIncidentUrl = 'https://status.com/'; export const zoomMeetingUrl = 'https://gitlab.zoom.us/j/95919234811'; export const appProps = { canUpdate: true, canDestroy: true, endpoint: '/gitlab-org/gitlab-shell/-/issues/9/realtime_changes', updateEndpoint: TEST_HOST, issuableRef: '#1', issuableStatus: 'opened', initialTitleHtml: '', initialTitleText: '', initialDescriptionHtml: 'test', initialDescriptionText: 'test', initialTaskCompletionStatus: { completed_count: 2, count: 4 }, lockVersion: 1, issueType: 'issue', markdownPreviewPath: '/', markdownDocsPath: '/', projectNamespace: '/', projectPath: '/', projectId: 1, issuableTemplateNamesPath: '/issuable-templates-path', zoomMeetingUrl, publishedIncidentUrl, }; export const descriptionHtmlWithList = ` `; export const descriptionHtmlWithDetailsTag = { expanded: `
Section 1

Data

'`, collapsed: `
Section 1

Data

'`, };