summaryrefslogtreecommitdiff
path: root/spec/frontend/__helpers__/test_constants.js
blob: 628b9b054d3349c756e996d2a270e44e274f348f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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`;

const DUMMY_IMAGE_BLOB_PATH = 'SpongeBlob.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,
  DUMMY_IMAGE_BLOB_PATH,
};