diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-12-10 04:44:53 -0600 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-12-10 05:10:38 -0600 |
commit | 9469979a91691655df148daf2e6bf30adbe213d1 (patch) | |
tree | 99f01540b159c99f78c4d11302ce15600f40a806 /spec/javascripts/notes/mock_data.js | |
parent | c1fac478e08dcd1722a1bf501011fe3b7794a2c3 (diff) | |
download | gitlab-ce-9469979a91691655df148daf2e6bf30adbe213d1.tar.gz |
Try to clean up legit Vue error that was patched over
See https://gitlab.com/gitlab-org/gitlab-ce/issues/37619#note_50422859
Diffstat (limited to 'spec/javascripts/notes/mock_data.js')
-rw-r--r-- | spec/javascripts/notes/mock_data.js | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/spec/javascripts/notes/mock_data.js b/spec/javascripts/notes/mock_data.js index 42497de3c55..165c514cbb8 100644 --- a/spec/javascripts/notes/mock_data.js +++ b/spec/javascripts/notes/mock_data.js @@ -447,3 +447,51 @@ export const discussionNoteServerResponse = [{ }], "individual_note": false }]; + +export const notesPollingResponse = { + last_fetched_at: 1512900838, + notes: [], +}; + +export const updatedNoteResponse = { + "commands_changes": null, + "valid": true, + "id": 1471, + "attachment": null, + "author": { + "id": 1, + "name": "Root", + "username": "root", + "state": "active", + "avatar_url": null, + "path": "/root" + }, + "created_at": "2017-08-08T16:53:00.666Z", + "updated_at": "2017-12-10T11:03:21.876Z", + "system": false, + "noteable_id": 124, + "noteable_type": "Issue", + "noteable_iid": 29, + "type": "DiscussionNote", + "human_access": "Owner", + "note": "Adding a comment", + "note_html": "\u003cp dir=\"auto\"\u003eAdding a comment\u003c/p\u003e", + "last_edited_at": "2017-12-10T11:03:21.876Z", + "last_edited_by": { + "id": 1, + "name": 'Root', + "username": 'root', + "state": 'active', + "avatar_url": null, + "path": '/root', + }, + "current_user": { + "can_edit": true + }, + "discussion_id": "a3ed36e29b1957efb3b68c53e2d7a2b24b1df052", + "emoji_awardable": true, + "award_emoji": [], + "toggle_award_path": "/gitlab-org/gitlab-ce/notes/1471/toggle_award_emoji", + "report_abuse_path": "/abuse_reports/new?ref_url=http%3A%2F%2Flocalhost%3A3000%2Fgitlab-org%2Fgitlab-ce%2Fissues%2F29%23note_1471\u0026user_id=1", + "path": "/gitlab-org/gitlab-ce/notes/1471" +}; |