diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-08-21 11:06:50 +0300 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-08-21 11:06:50 +0300 |
commit | a28c77f2adcb1a355a7497bd3a46d86a4c5d4d05 (patch) | |
tree | ccdbbd4292f6e71a06159e99fea17e553c1a577c /spec/javascripts/issue_show | |
parent | 976f0dfaf6bd1686526d5144b97ea658f937abac (diff) |
Throw error for multiple RecaptchaModal instances
Diffstat (limited to 'spec/javascripts/issue_show')
-rw-r--r-- | spec/javascripts/issue_show/components/description_spec.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/javascripts/issue_show/components/description_spec.js b/spec/javascripts/issue_show/components/description_spec.js index 7e00fbf2745..e10426a9858 100644 --- a/spec/javascripts/issue_show/components/description_spec.js +++ b/spec/javascripts/issue_show/components/description_spec.js @@ -1,5 +1,6 @@ import $ from 'jquery'; import Vue from 'vue'; +import '~/behaviors/markdown/render_gfm'; import Description from '~/issue_show/components/description.vue'; import mountComponent from 'spec/helpers/vue_mount_component_helper'; @@ -91,6 +92,7 @@ describe('Description component', () => { let TaskList; beforeEach(() => { + vm.$destroy(); vm = mountComponent( DescriptionComponent, Object.assign({}, props, { |