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/notes/components/comment_form_spec.js')
-rw-r--r--spec/frontend/notes/components/comment_form_spec.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/frontend/notes/components/comment_form_spec.js b/spec/frontend/notes/components/comment_form_spec.js
index a6d88bdd310..0728646246d 100644
--- a/spec/frontend/notes/components/comment_form_spec.js
+++ b/spec/frontend/notes/components/comment_form_spec.js
@@ -3,6 +3,7 @@ import { mount, shallowMount } from '@vue/test-utils';
import Autosize from 'autosize';
import MockAdapter from 'axios-mock-adapter';
import Vue, { nextTick } from 'vue';
+// eslint-disable-next-line no-restricted-imports
import Vuex from 'vuex';
import { extendedWrapper } from 'helpers/vue_test_utils_helper';
import { useLocalStorageSpy } from 'helpers/local_storage_helper';
@@ -170,10 +171,9 @@ describe('issue_comment_form component', () => {
findCloseReopenButton().trigger('click');
- expect(trackingSpy).toHaveBeenCalledWith(undefined, 'editor_type_used', {
- context: 'Issue_comment',
- editorType: 'editor_type_plain_text_editor',
- label: 'editor_tracking',
+ expect(trackingSpy).toHaveBeenCalledWith(undefined, 'save_markdown', {
+ label: 'markdown_editor',
+ property: 'Issue_comment',
});
});