From 9e639c23a73492ab8596832968b37fcdf5b09045 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Wed, 15 Jan 2020 18:20:12 +0100 Subject: [PATCH] Fix import for newly named/moved component --- .../generic/PaginationButtons/PaginationButtons.spec.js | 6 +++--- .../generic/PaginationButtons/PaginationButtons.story.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/webapp/components/_new/generic/PaginationButtons/PaginationButtons.spec.js b/webapp/components/_new/generic/PaginationButtons/PaginationButtons.spec.js index 19891bd14..f214ba55e 100644 --- a/webapp/components/_new/generic/PaginationButtons/PaginationButtons.spec.js +++ b/webapp/components/_new/generic/PaginationButtons/PaginationButtons.spec.js @@ -1,17 +1,17 @@ import { mount } from '@vue/test-utils' -import Paginate from './Paginate' +import PaginationButtons from './PaginationButtons' const localVue = global.localVue -describe('Paginate.vue', () => { +describe('PaginationButtons.vue', () => { let propsData = {} let wrapper let nextButton let backButton const Wrapper = () => { - return mount(Paginate, { propsData, localVue }) + return mount(PaginationButtons, { propsData, localVue }) } describe('mount', () => { diff --git a/webapp/components/_new/generic/PaginationButtons/PaginationButtons.story.js b/webapp/components/_new/generic/PaginationButtons/PaginationButtons.story.js index 9ec9532f6..79d0fad69 100644 --- a/webapp/components/_new/generic/PaginationButtons/PaginationButtons.story.js +++ b/webapp/components/_new/generic/PaginationButtons/PaginationButtons.story.js @@ -1,16 +1,16 @@ import { storiesOf } from '@storybook/vue' import { withA11y } from '@storybook/addon-a11y' import { action } from '@storybook/addon-actions' -import Paginate from '~/components/Paginate/Paginate' +import PaginationButtons from '~/components/_new/generic/PaginationButtons/PaginationButtons' import helpers from '~/storybook/helpers' helpers.init() -storiesOf('Paginate', module) +storiesOf('PaginationButtons', module) .addDecorator(withA11y) .addDecorator(helpers.layout) .add('basic pagination', () => ({ - components: { Paginate }, + components: { PaginationButtons }, data: () => ({ hasNext: true, hasPrevious: false,