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

test_constants.js « __helpers__ « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 69b78f556aa7a72555e70aae0d77f13b9559385e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const FIXTURES_PATH = `/fixtures`;
const TEST_HOST = 'http://test.host';

const DUMMY_IMAGE_URL = `${FIXTURES_PATH}/static/images/one_white_pixel.png`;

const GREEN_BOX_IMAGE_URL = `${FIXTURES_PATH}/static/images/green_box.png`;
const RED_BOX_IMAGE_URL = `${FIXTURES_PATH}/static/images/red_box.png`;

// NOTE: module.exports is needed so that this file can be used
// by environment.js
//
// eslint-disable-next-line import/no-commonjs
module.exports = {
  FIXTURES_PATH,
  TEST_HOST,
  DUMMY_IMAGE_URL,
  GREEN_BOX_IMAGE_URL,
  RED_BOX_IMAGE_URL,
};