Welcome to mirror list, hosted at ThFree Co, Russian Federation.

mock_data.js « frequent_items « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5cd4cddd877be52381c28d0ec0267826bbdbfc5c (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import { TEST_HOST } from 'helpers/test_constants';

export const mockFrequentProjects = [
  {
    id: 1,
    name: 'GitLab Community Edition',
    namespace: 'gitlab-org / gitlab-ce',
    webUrl: `${TEST_HOST}/gitlab-org/gitlab-foss`,
    avatarUrl: null,
    frequency: 1,
    lastAccessedOn: Date.now(),
  },
  {
    id: 2,
    name: 'GitLab CI',
    namespace: 'gitlab-org / gitlab-ci',
    webUrl: `${TEST_HOST}/gitlab-org/gitlab-ci`,
    avatarUrl: null,
    frequency: 9,
    lastAccessedOn: Date.now(),
  },
  {
    id: 3,
    name: 'Typeahead.Js',
    namespace: 'twitter / typeahead-js',
    webUrl: `${TEST_HOST}/twitter/typeahead-js`,
    avatarUrl: '/uploads/-/system/project/avatar/7/TWBS.png',
    frequency: 2,
    lastAccessedOn: Date.now(),
  },
  {
    id: 4,
    name: 'Intel',
    namespace: 'platform / hardware / bsp / intel',
    webUrl: `${TEST_HOST}/platform/hardware/bsp/intel`,
    avatarUrl: null,
    frequency: 3,
    lastAccessedOn: Date.now(),
  },
  {
    id: 5,
    name: 'v4.4',
    namespace: 'platform / hardware / bsp / kernel / common / v4.4',
    webUrl: `${TEST_HOST}/platform/hardware/bsp/kernel/common/v4.4`,
    avatarUrl: null,
    frequency: 8,
    lastAccessedOn: Date.now(),
  },
];

export const mockProject = {
  id: 1,
  name: 'GitLab Community Edition',
  namespace: 'gitlab-org / gitlab-ce',
  webUrl: `${TEST_HOST}/gitlab-org/gitlab-foss`,
  avatarUrl: null,
};