summaryrefslogtreecommitdiff
path: root/spec/javascripts/notes/mock_data.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/notes/mock_data.js')
-rw-r--r--spec/javascripts/notes/mock_data.js28
1 files changed, 24 insertions, 4 deletions
diff --git a/spec/javascripts/notes/mock_data.js b/spec/javascripts/notes/mock_data.js
index e77f2a9f7af..67f6a9629d9 100644
--- a/spec/javascripts/notes/mock_data.js
+++ b/spec/javascripts/notes/mock_data.js
@@ -1176,7 +1176,12 @@ export const discussion1 = {
diff_file: {
file_path: 'about.md',
},
- line_code: 'abcdefghijkl_50_0',
+ position: {
+ formatter: {
+ new_line: 50,
+ old_line: null,
+ },
+ },
notes: [
{
created_at: '2018-07-04T16:25:41.749Z',
@@ -1191,7 +1196,12 @@ export const resolvedDiscussion1 = {
diff_file: {
file_path: 'about.md',
},
- line_code: 'abcdefghijkl_50_0',
+ position: {
+ formatter: {
+ new_line: 50,
+ old_line: null,
+ },
+ },
notes: [
{
created_at: '2018-07-04T16:25:41.749Z',
@@ -1206,7 +1216,12 @@ export const discussion2 = {
diff_file: {
file_path: 'README.md',
},
- line_code: 'abcdefghijkl_0_20',
+ position: {
+ formatter: {
+ new_line: null,
+ old_line: 20,
+ },
+ },
notes: [
{
created_at: '2018-07-04T12:05:41.749Z',
@@ -1221,7 +1236,12 @@ export const discussion3 = {
diff_file: {
file_path: 'README.md',
},
- line_code: 'abcdefghijkl_21_0',
+ position: {
+ formatter: {
+ new_line: 21,
+ old_line: null,
+ },
+ },
notes: [
{
created_at: '2018-07-05T17:25:41.749Z',