diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-04-08 20:16:46 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-04-10 12:50:40 +0200 |
commit | 2704c4a588892e2d1928e0d772610cdaf0f8e760 (patch) | |
tree | 4520cf25da9c5beb4742356c3bb6f29373c4388c | |
parent | 41c5733f557c2db74556b868e53b2742239880be (diff) | |
download | gitlab-ce-2704c4a588892e2d1928e0d772610cdaf0f8e760.tar.gz |
Hard code test name in timeline_entry_item_spec.js
-rw-r--r-- | app/assets/javascripts/vue_shared/components/notes/timeline_entry_item.vue | 6 | ||||
-rw-r--r-- | spec/frontend/vue_shared/components/notes/timeline_entry_item_spec.js | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/app/assets/javascripts/vue_shared/components/notes/timeline_entry_item.vue b/app/assets/javascripts/vue_shared/components/notes/timeline_entry_item.vue index 06974a12aed..f316c4fe112 100644 --- a/app/assets/javascripts/vue_shared/components/notes/timeline_entry_item.vue +++ b/app/assets/javascripts/vue_shared/components/notes/timeline_entry_item.vue @@ -1,9 +1,3 @@ -<script> -export default { - name: 'TimelineEntryItem', -}; -</script> - <template> <li class="timeline-entry"> <div class="timeline-entry-inner"><slot></slot></div> diff --git a/spec/frontend/vue_shared/components/notes/timeline_entry_item_spec.js b/spec/frontend/vue_shared/components/notes/timeline_entry_item_spec.js index c15635f2105..be6c58f0683 100644 --- a/spec/frontend/vue_shared/components/notes/timeline_entry_item_spec.js +++ b/spec/frontend/vue_shared/components/notes/timeline_entry_item_spec.js @@ -1,7 +1,7 @@ import { shallowMount, createLocalVue } from '@vue/test-utils'; import TimelineEntryItem from '~/vue_shared/components/notes/timeline_entry_item.vue'; -describe(TimelineEntryItem.name, () => { +describe(`TimelineEntryItem`, () => { let wrapper; const factory = (options = {}) => { |