Commit 62397cd6 authored by Mark Florian's avatar Mark Florian

Merge branch '196670-replace-undescore-with-lodash-notes-spec' into 'master'

Replace underscore with lodash for ./spec/javascripts/notes/components

Closes #196670

See merge request gitlab-org/gitlab!25527
parents eb3770c9 d144852f
import _ from 'underscore';
import { escape } from 'lodash';
import { shallowMount, createLocalVue } from '@vue/test-utils';
import createStore from '~/notes/stores';
import issueNote from '~/notes/components/noteable_note.vue';
......@@ -98,7 +98,7 @@ describe('issue_note', () => {
setTimeout(() => {
expect(alertSpy).not.toHaveBeenCalled();
expect(wrapper.vm.note.note_html).toEqual(_.escape(noteBody));
expect(wrapper.vm.note.note_html).toEqual(escape(noteBody));
done();
}, 0);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment