diff options
Diffstat (limited to 'spec/frontend/image_diff/helpers/comment_indicator_helper_spec.js')
-rw-r--r-- | spec/frontend/image_diff/helpers/comment_indicator_helper_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/frontend/image_diff/helpers/comment_indicator_helper_spec.js b/spec/frontend/image_diff/helpers/comment_indicator_helper_spec.js index 395bb7de362..2deb4be2b91 100644 --- a/spec/frontend/image_diff/helpers/comment_indicator_helper_spec.js +++ b/spec/frontend/image_diff/helpers/comment_indicator_helper_spec.js @@ -1,5 +1,6 @@ import * as commentIndicatorHelper from '~/image_diff/helpers/comment_indicator_helper'; import * as mockData from '../mock_data'; +import { TEST_HOST } from 'jest/helpers/test_constants'; describe('commentIndicatorHelper', () => { const { coordinate } = mockData; @@ -52,7 +53,7 @@ describe('commentIndicatorHelper', () => { beforeEach(() => { containerEl.innerHTML = ` <div class="comment-indicator" style="left:${coordinate.x}px; top: ${coordinate.y}px;"> - <img src="${gl.TEST_HOST}/image.png"> + <img src="${TEST_HOST}/image.png"> </div> `; result = commentIndicatorHelper.removeCommentIndicator(containerEl); |