summaryrefslogtreecommitdiff
path: root/spec/frontend/ml/experiment_tracking/routes/experiments/index/components/mock_data.js
blob: ea02584a7cc3a48d07172bc9a650e5b6d7e6b36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export const startCursor = 'eyJpZCI6IjE2In0';
export const defaultPageInfo = Object.freeze({
  startCursor,
  endCursor: 'eyJpZCI6IjIifQ',
  hasNextPage: true,
  hasPreviousPage: true,
});

export const firstExperiment = Object.freeze({
  name: 'Experiment 1',
  path: 'path/to/experiment/1',
  candidate_count: 2,
});

export const secondExperiment = Object.freeze({
  name: 'Experiment 2',
  path: 'path/to/experiment/2',
  candidate_count: 3,
});

export const experiments = [firstExperiment, secondExperiment];