debian-mirror-gitlab/spec/frontend/helpers/test_constants.js

20 lines
552 B
JavaScript
Raw Normal View History

2020-07-28 23:09:34 +05:30
const FIXTURES_PATH = `/fixtures`;
const TEST_HOST = 'http://test.host';
2019-12-21 20:55:43 +05:30
2020-07-28 23:09:34 +05:30
const DUMMY_IMAGE_URL = `${FIXTURES_PATH}/static/images/one_white_pixel.png`;
2019-12-21 20:55:43 +05:30
2020-07-28 23:09:34 +05:30
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,
};