summaryrefslogtreecommitdiff
path: root/spec/frontend/vue_shared/components/source_viewer/mock_data.js
blob: f35e9607d5c535629e75a501bed228893c1f24bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const path = 'some/path.js';
const blamePath = 'some/blame/path.js';

export const LANGUAGE_MOCK = 'docker';

export const BLOB_DATA_MOCK = { language: LANGUAGE_MOCK, path, blamePath };

export const CHUNK_1 = {
  isHighlighted: true,
  rawContent: 'chunk 1 raw',
  highlightedContent: 'chunk 1 highlighted',
  totalLines: 70,
  startingFrom: 0,
  blamePath,
};

export const CHUNK_2 = {
  isHighlighted: false,
  rawContent: 'chunk 2 raw',
  highlightedContent: 'chunk 2 highlighted',
  totalLines: 40,
  startingFrom: 70,
  blamePath,
};