summaryrefslogtreecommitdiff
path: root/spec/frontend/search/mock_data.js
blob: ee509eaad8dc0680e249e1f7f4c6444939734632 (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
export const MOCK_QUERY = {
  scope: 'issues',
  state: 'all',
  confidential: null,
  group_id: 'test_1',
};

export const MOCK_GROUP = {
  name: 'test group',
  full_name: 'full name test group',
  id: 'test_1',
};

export const MOCK_GROUPS = [
  {
    name: 'test group',
    full_name: 'full name test group',
    id: 'test_1',
  },
  {
    name: 'test group 2',
    full_name: 'full name test group 2',
    id: 'test_2',
  },
];

export const MOCK_PROJECT = {
  name: 'test project',
  namespace_id: MOCK_GROUP.id,
  nameWithNamespace: 'test group test project',
  id: 'test_1',
};

export const MOCK_PROJECTS = [
  {
    name: 'test project',
    namespace_id: MOCK_GROUP.id,
    name_with_namespace: 'test group test project',
    id: 'test_1',
  },
  {
    name: 'test project 2',
    namespace_id: MOCK_GROUP.id,
    name_with_namespace: 'test group test project 2',
    id: 'test_2',
  },
];