diff options
Diffstat (limited to 'spec/frontend/awards_handler_spec.js')
-rw-r--r-- | spec/frontend/awards_handler_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/awards_handler_spec.js b/spec/frontend/awards_handler_spec.js index 6cfbc6024af..1a1738ecf4a 100644 --- a/spec/frontend/awards_handler_spec.js +++ b/spec/frontend/awards_handler_spec.js @@ -1,11 +1,11 @@ import $ from 'jquery'; import Cookies from 'js-cookie'; import MockAdapter from 'axios-mock-adapter'; +import { useFakeRequestAnimationFrame } from 'helpers/fake_request_animation_frame'; import axios from '~/lib/utils/axios_utils'; import loadAwardsHandler from '~/awards_handler'; import { setTestTimeout } from './helpers/timeout'; import { EMOJI_VERSION } from '~/emoji'; -import { useFakeRequestAnimationFrame } from 'helpers/fake_request_animation_frame'; window.gl = window.gl || {}; window.gon = window.gon || {}; @@ -162,7 +162,7 @@ describe('AwardsHandler', () => { describe('::getAwardUrl', () => { it('returns the url for request', () => { - expect(awardsHandler.getAwardUrl()).toBe('http://test.host/snippets/1/toggle_award_emoji'); + expect(awardsHandler.getAwardUrl()).toBe('http://test.host/-/snippets/1/toggle_award_emoji'); }); }); |