Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/behaviors/shortcuts/shortcuts_issuable_spec.js')
-rw-r--r--spec/frontend/behaviors/shortcuts/shortcuts_issuable_spec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/frontend/behaviors/shortcuts/shortcuts_issuable_spec.js b/spec/frontend/behaviors/shortcuts/shortcuts_issuable_spec.js
index 6db99e796d6..3951714c64e 100644
--- a/spec/frontend/behaviors/shortcuts/shortcuts_issuable_spec.js
+++ b/spec/frontend/behaviors/shortcuts/shortcuts_issuable_spec.js
@@ -11,6 +11,8 @@ jest.mock('~/lib/utils/common_utils', () => ({
getSelectedFragment: jest.fn().mockName('getSelectedFragment'),
}));
+jest.mock('~/emoji');
+
describe('ShortcutsIssuable', () => {
beforeAll(() => {
initCopyAsGFM();
@@ -215,7 +217,7 @@ describe('ShortcutsIssuable', () => {
ShortcutsIssuable.replyWithSelectedText(true);
await waitForPromises();
- expect($(FORM_SELECTOR).val()).toBe('> *Selected text.*\n\n');
+ expect($(FORM_SELECTOR).val()).toBe('> _Selected text._\n\n');
});
it('triggers `focus`', async () => {