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

23 lines
626 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`;
2021-04-17 20:07:23 +05:30
const DUMMY_IMAGE_BLOB_PATH = 'SpongeBlob.png';
2020-07-28 23:09:34 +05:30
// 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,
2021-04-17 20:07:23 +05:30
DUMMY_IMAGE_BLOB_PATH,
2020-07-28 23:09:34 +05:30
};