diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 23:50:22 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-20 23:50:22 +0000 |
commit | 9dc93a4519d9d5d7be48ff274127136236a3adb3 (patch) | |
tree | 70467ae3692a0e35e5ea56bcb803eb512a10bedb /spec/frontend/notes/mock_data.js | |
parent | 4b0f34b6d759d6299322b3a54453e930c6121ff0 (diff) | |
download | gitlab-ce-9dc93a4519d9d5d7be48ff274127136236a3adb3.tar.gz |
Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43
Diffstat (limited to 'spec/frontend/notes/mock_data.js')
-rw-r--r-- | spec/frontend/notes/mock_data.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/frontend/notes/mock_data.js b/spec/frontend/notes/mock_data.js index 638a4edecd6..a4aeeda48d8 100644 --- a/spec/frontend/notes/mock_data.js +++ b/spec/frontend/notes/mock_data.js @@ -6,6 +6,7 @@ export const notesDataMock = { markdownDocsPath: '/help/user/markdown', newSessionPath: '/users/sign_in?redirect_to_referer=yes', notesPath: '/gitlab-org/gitlab-foss/noteable/issue/98/notes', + draftsPath: '/flightjs/flight/-/merge_requests/4/drafts', quickActionsDocsPath: '/help/user/project/quick_actions', registerPath: '/users/sign_up?redirect_to_referer=yes', prerenderedNotesCount: 1, @@ -1270,3 +1271,18 @@ export const batchSuggestionsInfoMock = [ discussionId: 'c003', }, ]; + +export const draftComments = [ + { id: 7, note: 'test draft note', isDraft: true }, + { id: 9, note: 'draft note 2', isDraft: true }, +]; + +export const draftReply = { id: 8, note: 'draft reply', discussion_id: 1, isDraft: true }; + +export const draftDiffDiscussion = { + id: 6, + note: 'draft diff discussion', + line_code: 1, + file_path: 'lib/foo.rb', + isDraft: true, +}; |