diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-20 12:26:25 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-20 12:26:25 +0000 |
commit | a09983ae35713f5a2bbb100981116d31ce99826e (patch) | |
tree | 2ee2af7bd104d57086db360a7e6d8c9d5d43667a /spec/frontend/image_diff/replaced_image_diff_spec.js | |
parent | 18c5ab32b738c0b6ecb4d0df3994000482f34bd8 (diff) | |
download | gitlab-ce-a09983ae35713f5a2bbb100981116d31ce99826e.tar.gz |
Add latest changes from gitlab-org/gitlab@13-2-stable-ee
Diffstat (limited to 'spec/frontend/image_diff/replaced_image_diff_spec.js')
-rw-r--r-- | spec/frontend/image_diff/replaced_image_diff_spec.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/frontend/image_diff/replaced_image_diff_spec.js b/spec/frontend/image_diff/replaced_image_diff_spec.js index f2a7b7f8406..38a43bfa858 100644 --- a/spec/frontend/image_diff/replaced_image_diff_spec.js +++ b/spec/frontend/image_diff/replaced_image_diff_spec.js @@ -2,6 +2,7 @@ import ReplacedImageDiff from '~/image_diff/replaced_image_diff'; import ImageDiff from '~/image_diff/image_diff'; import { viewTypes } from '~/image_diff/view_types'; import imageDiffHelper from '~/image_diff/helpers/index'; +import { TEST_HOST } from 'jest/helpers/test_constants'; describe('ReplacedImageDiff', () => { let element; @@ -12,17 +13,17 @@ describe('ReplacedImageDiff', () => { <div id="element"> <div class="two-up"> <div class="js-image-frame"> - <img src="${gl.TEST_HOST}/image.png"> + <img src="${TEST_HOST}/image.png"> </div> </div> <div class="swipe"> <div class="js-image-frame"> - <img src="${gl.TEST_HOST}/image.png"> + <img src="${TEST_HOST}/image.png"> </div> </div> <div class="onion-skin"> <div class="js-image-frame"> - <img src="${gl.TEST_HOST}/image.png"> + <img src="${TEST_HOST}/image.png"> </div> </div> <div class="view-modes-menu"> |