gitlab-org--gitlab-foss/spec/javascripts/test_constants.js
Winnie Hellmann 6e3165f0b4 Load EE fixtures from ee/ directory in Karma
(cherry picked from commit 7cde57bf7367bce130a2e7f149c8dafd362de3f8)
2019-05-02 23:11:18 +02:00

9 lines
402 B
JavaScript

export const FIXTURES_PATH = `/base/${
process.env.IS_GITLAB_EE ? 'ee/' : ''
}spec/javascripts/fixtures`;
export const TEST_HOST = 'http://test.host';
export const DUMMY_IMAGE_URL = `${FIXTURES_PATH}/static/images/one_white_pixel.png`;
export const GREEN_BOX_IMAGE_URL = `${FIXTURES_PATH}/static/images/green_box.png`;
export const RED_BOX_IMAGE_URL = `${FIXTURES_PATH}/static/images/red_box.png`;