diff options
Diffstat (limited to 'spec/javascripts/notes/components/discussion_resolve_with_issue_button_spec.js')
-rw-r--r-- | spec/javascripts/notes/components/discussion_resolve_with_issue_button_spec.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/spec/javascripts/notes/components/discussion_resolve_with_issue_button_spec.js b/spec/javascripts/notes/components/discussion_resolve_with_issue_button_spec.js deleted file mode 100644 index 4348445f7ca..00000000000 --- a/spec/javascripts/notes/components/discussion_resolve_with_issue_button_spec.js +++ /dev/null @@ -1,30 +0,0 @@ -import { GlButton } from '@gitlab/ui'; -import { shallowMount, createLocalVue } from '@vue/test-utils'; -import { TEST_HOST } from 'spec/test_constants'; -import ResolveWithIssueButton from '~/notes/components/discussion_resolve_with_issue_button.vue'; - -const localVue = createLocalVue(); - -describe('ResolveWithIssueButton', () => { - let wrapper; - const url = `${TEST_HOST}/hello-world/`; - - beforeEach(() => { - wrapper = shallowMount(ResolveWithIssueButton, { - localVue, - propsData: { - url, - }, - }); - }); - - afterEach(() => { - wrapper.destroy(); - }); - - it('it should have a link with the provided link property as href', () => { - const button = wrapper.find(GlButton); - - expect(button.attributes().href).toBe(url); - }); -}); |