debian-mirror-gitlab/spec/frontend/helpers/test_constants.js
2020-08-09 17:41:57 +05:30

19 lines
552 B
JavaScript

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,
};