From 2dc7fdd3555e54cb1181eab0e076fed354cfcabc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Connor=20B=C3=A4r?= Date: Thu, 18 Jun 2020 13:15:46 +0200 Subject: [PATCH] docs(docs): remove jest story parameter docs/remove-tests --- src/components/Anchor/Anchor.story.tsx | 3 +-- src/components/AspectRatio/AspectRatio.story.js | 5 +---- src/components/Badge/Badge.story.js | 3 +-- src/components/Blockquote/Blockquote.story.tsx | 3 +-- src/components/Button/Button.story.tsx | 3 +-- src/components/ButtonGroup/ButtonGroup.story.js | 5 +---- src/components/Calendar/RangePicker.story.js | 5 +---- src/components/Calendar/SingleDayPicker.story.js | 5 +---- src/components/CalendarTag/CalendarTag.story.js | 5 +---- .../CalendarTagTwoStep/CalendarTagTwoStep.story.js | 5 +---- src/components/Card/Card.story.js | 3 +-- src/components/CardList/CardList.story.js | 3 +-- src/components/Carousel/Carousel.story.js | 3 +-- src/components/Carousel/components/Buttons/Buttons.story.js | 5 +---- src/components/Carousel/components/Slide/Slide.story.js | 5 +---- src/components/Carousel/components/Status/Status.story.js | 5 +---- src/components/Checkbox/Checkbox.story.js | 3 +-- src/components/CloseButton/CloseButton.story.js | 3 +-- src/components/Col/Col.story.js | 5 +---- src/components/CurrencyInput/CurrencyInput.story.js | 3 +-- src/components/Grid/Grid.story.js | 5 +---- src/components/Hamburger/Hamburger.story.tsx | 5 +---- src/components/Header/Header.story.js | 5 +---- src/components/Heading/Heading.story.tsx | 3 +-- src/components/Hr/Hr.story.tsx | 3 +-- src/components/IconButton/IconButton.story.tsx | 3 +-- src/components/Image/Image.story.js | 3 +-- src/components/InlineElements/InlineElements.story.js | 5 +---- src/components/InlineMessage/InlineMessage.story.js | 3 +-- src/components/Input/Input.story.js | 3 +-- src/components/Label/Label.story.tsx | 3 +-- src/components/List/List.story.tsx | 3 +-- src/components/LoadingButton/LoadingButton.story.tsx | 3 +-- src/components/Modal/Modal.embed.story.tsx | 5 +---- src/components/Modal/Modal.story.tsx | 3 +-- src/components/Notification/Notification.story.js | 3 +-- .../NotificationBanner/NotificationBanner.story.js | 5 +---- src/components/NotificationList/NotificationList.story.js | 5 +---- src/components/Pagination/Pagination.story.js | 3 +-- src/components/Popover/Popover.story.js | 5 +---- src/components/ProgressBar/ProgressBar.story.tsx | 3 +-- src/components/RadioButton/RadioButton.story.js | 3 +-- src/components/RadioButtonGroup/RadioButtonGroup.story.js | 5 +---- src/components/Row/Row.story.js | 5 +---- src/components/SearchInput/SearchInput.story.js | 3 +-- src/components/Select/Select.story.tsx | 3 +-- src/components/Selector/Selector.story.js | 3 +-- src/components/SelectorGroup/SelectorGroup.story.js | 5 +---- src/components/Sidebar/Sidebar.story.js | 3 +-- src/components/Spacing/Spacing.story.js | 5 +---- src/components/Spinner/Spinner.story.tsx | 5 +---- src/components/Step/Step.story.js | 3 +-- src/components/SubHeading/SubHeading.story.tsx | 3 +-- src/components/Table/Table.story.js | 3 +-- src/components/Table/components/TableCell/TableCell.story.js | 5 +---- .../Table/components/TableHeader/TableHeader.story.js | 5 +---- src/components/Tabs/Tabs.story.js | 3 +-- src/components/Tag/Tag.story.js | 3 +-- src/components/Text/Text.story.tsx | 3 +-- src/components/TextArea/TextArea.story.js | 3 +-- src/components/Toggle/Toggle.story.js | 3 +-- src/components/Tooltip/Tooltip.story.js | 3 +-- 62 files changed, 62 insertions(+), 174 deletions(-) diff --git a/src/components/Anchor/Anchor.story.tsx b/src/components/Anchor/Anchor.story.tsx index ab82ef2654..02a7f76434 100644 --- a/src/components/Anchor/Anchor.story.tsx +++ b/src/components/Anchor/Anchor.story.tsx @@ -22,8 +22,7 @@ export default { title: 'Typography/Anchor', component: Anchor, parameters: { - docs: { page: docs }, - jest: ['Anchor'] + docs: { page: docs } } }; diff --git a/src/components/AspectRatio/AspectRatio.story.js b/src/components/AspectRatio/AspectRatio.story.js index bb31e5daf6..26412b8f49 100644 --- a/src/components/AspectRatio/AspectRatio.story.js +++ b/src/components/AspectRatio/AspectRatio.story.js @@ -25,10 +25,7 @@ const Background = styled('div')` export default { title: 'Components/AspectRatio', - component: AspectRatio, - parameters: { - jest: ['AspectRatio'] - } + component: AspectRatio }; export const base = () => ( diff --git a/src/components/Badge/Badge.story.js b/src/components/Badge/Badge.story.js index a414f07008..449194cde6 100644 --- a/src/components/Badge/Badge.story.js +++ b/src/components/Badge/Badge.story.js @@ -24,8 +24,7 @@ export default { title: 'Components/Badge', component: Badge, parameters: { - docs: { page: docs }, - jest: ['Badge'] + docs: { page: docs } } }; diff --git a/src/components/Blockquote/Blockquote.story.tsx b/src/components/Blockquote/Blockquote.story.tsx index 94e15a57fa..49ff86bfa7 100644 --- a/src/components/Blockquote/Blockquote.story.tsx +++ b/src/components/Blockquote/Blockquote.story.tsx @@ -27,8 +27,7 @@ export default { title: 'Typography/Blockquote', component: Blockquote, parameters: { - docs: { page: docs }, - jest: ['Blockquote'] + docs: { page: docs } } }; diff --git a/src/components/Button/Button.story.tsx b/src/components/Button/Button.story.tsx index 6a2c39d09b..4893a808a4 100644 --- a/src/components/Button/Button.story.tsx +++ b/src/components/Button/Button.story.tsx @@ -24,8 +24,7 @@ export default { title: 'Components/Button', component: Button, parameters: { - docs: { page: docs }, - jest: ['Button'] + docs: { page: docs } } }; diff --git a/src/components/ButtonGroup/ButtonGroup.story.js b/src/components/ButtonGroup/ButtonGroup.story.js index 68f8e4f429..4d18178484 100644 --- a/src/components/ButtonGroup/ButtonGroup.story.js +++ b/src/components/ButtonGroup/ButtonGroup.story.js @@ -21,10 +21,7 @@ import Button from '../Button'; export default { title: 'Components/Button/ButtonGroup', - component: ButtonGroup, - parameters: { - jest: ['ButtonGroup'] - } + component: ButtonGroup }; export const base = () => ( diff --git a/src/components/Calendar/RangePicker.story.js b/src/components/Calendar/RangePicker.story.js index 2a23497ff3..640604d363 100644 --- a/src/components/Calendar/RangePicker.story.js +++ b/src/components/Calendar/RangePicker.story.js @@ -19,10 +19,7 @@ import RangePicker from './RangePicker'; export default { title: 'Components/Calendar/RangePicker', - component: RangePicker, - parameters: { - jest: ['RangePicker'] - } + component: RangePicker }; const RangePickerWithState = props => { diff --git a/src/components/Calendar/SingleDayPicker.story.js b/src/components/Calendar/SingleDayPicker.story.js index 3883868372..452168ce6b 100644 --- a/src/components/Calendar/SingleDayPicker.story.js +++ b/src/components/Calendar/SingleDayPicker.story.js @@ -19,10 +19,7 @@ import SingleDayPicker from './SingleDayPicker'; export default { title: 'Components/Calendar/SingleDayPicker', - component: SingleDayPicker, - parameters: { - jest: ['SingleDayPicker'] - } + component: SingleDayPicker }; const SingleDayPickerWithState = props => { diff --git a/src/components/CalendarTag/CalendarTag.story.js b/src/components/CalendarTag/CalendarTag.story.js index dc8e08cd0a..6461582a12 100644 --- a/src/components/CalendarTag/CalendarTag.story.js +++ b/src/components/CalendarTag/CalendarTag.story.js @@ -20,10 +20,7 @@ import CalendarTag from './CalendarTag'; export default { title: 'Components/Calendar/CalendarTag', - component: CalendarTag, - parameters: { - jest: ['CalendarTag'] - } + component: CalendarTag }; export const base = () => ( diff --git a/src/components/CalendarTagTwoStep/CalendarTagTwoStep.story.js b/src/components/CalendarTagTwoStep/CalendarTagTwoStep.story.js index 7a19b3c9d8..4bbb5c08a5 100644 --- a/src/components/CalendarTagTwoStep/CalendarTagTwoStep.story.js +++ b/src/components/CalendarTagTwoStep/CalendarTagTwoStep.story.js @@ -20,10 +20,7 @@ import CalendarTagTwoStep from './CalendarTagTwoStep'; export default { title: 'Components/Calendar/CalendarTagTwoStep', - component: CalendarTagTwoStep, - parameters: { - jest: ['CalendarTagTwoStep'] - } + component: CalendarTagTwoStep }; export const base = () => ( diff --git a/src/components/Card/Card.story.js b/src/components/Card/Card.story.js index 850c04d3fa..297c92fbaf 100644 --- a/src/components/Card/Card.story.js +++ b/src/components/Card/Card.story.js @@ -28,8 +28,7 @@ export default { title: 'Components/Card', component: Card, parameters: { - docs: { page: docs }, - jest: ['Card'] + docs: { page: docs } } }; diff --git a/src/components/CardList/CardList.story.js b/src/components/CardList/CardList.story.js index e98c6d5410..66a2f24f3e 100644 --- a/src/components/CardList/CardList.story.js +++ b/src/components/CardList/CardList.story.js @@ -50,8 +50,7 @@ export default { title: 'Components/Card/CardList', component: CardList, parameters: { - docs: { page: docs }, - jest: ['CardList'] + docs: { page: docs } } }; diff --git a/src/components/Carousel/Carousel.story.js b/src/components/Carousel/Carousel.story.js index cf2a5c25f5..ac8496cda4 100644 --- a/src/components/Carousel/Carousel.story.js +++ b/src/components/Carousel/Carousel.story.js @@ -36,8 +36,7 @@ export default { title: 'Components/Carousel', component: Carousel, parameters: { - docs: { page: docs }, - jest: ['Carousel'] + docs: { page: docs } } }; diff --git a/src/components/Carousel/components/Buttons/Buttons.story.js b/src/components/Carousel/components/Buttons/Buttons.story.js index 3344e6b25d..b9f26f0eb3 100644 --- a/src/components/Carousel/components/Buttons/Buttons.story.js +++ b/src/components/Carousel/components/Buttons/Buttons.story.js @@ -22,10 +22,7 @@ const { ButtonList, PlayButton, NextButton, PrevButton } = Buttons; export default { title: 'Components/Carousel/Buttons', - component: Buttons, - parameters: { - jest: ['Carousel/Buttons'] - } + component: Buttons }; export const allButtons = () => ( diff --git a/src/components/Carousel/components/Slide/Slide.story.js b/src/components/Carousel/components/Slide/Slide.story.js index aff185f1ca..004301cb23 100644 --- a/src/components/Carousel/components/Slide/Slide.story.js +++ b/src/components/Carousel/components/Slide/Slide.story.js @@ -33,10 +33,7 @@ const StyledHeading = styled(Heading)(headingStyles); export default { title: 'Components/Carousel/Slide', - component: Slide, - parameters: { - jest: ['Carousel/Slide'] - } + component: Slide }; export const onlyImage = () => ( diff --git a/src/components/Carousel/components/Status/Status.story.js b/src/components/Carousel/components/Status/Status.story.js index c9e1da5b5e..485dc379e6 100644 --- a/src/components/Carousel/components/Status/Status.story.js +++ b/src/components/Carousel/components/Status/Status.story.js @@ -20,10 +20,7 @@ import Status from './Status'; export default { title: 'Components/Carousel/Status', - component: Status, - parameters: { - jest: ['Carousel/Status'] - } + component: Status }; export const base = () => ( diff --git a/src/components/Checkbox/Checkbox.story.js b/src/components/Checkbox/Checkbox.story.js index ce3d8fea2d..714fab6d02 100644 --- a/src/components/Checkbox/Checkbox.story.js +++ b/src/components/Checkbox/Checkbox.story.js @@ -24,8 +24,7 @@ export default { title: 'Forms/Checkbox', component: Checkbox, parameters: { - docs: { page: docs }, - jest: ['Checkbox'] + docs: { page: docs } } }; diff --git a/src/components/CloseButton/CloseButton.story.js b/src/components/CloseButton/CloseButton.story.js index 07a94d84f5..a998cc306f 100644 --- a/src/components/CloseButton/CloseButton.story.js +++ b/src/components/CloseButton/CloseButton.story.js @@ -21,8 +21,7 @@ import CloseButton from './CloseButton'; export default { title: 'Components/Button/CloseButton', parameters: { - component: CloseButton, - jest: ['CloseButton'] + component: CloseButton } }; diff --git a/src/components/Col/Col.story.js b/src/components/Col/Col.story.js index f7947df942..1fc003eae8 100644 --- a/src/components/Col/Col.story.js +++ b/src/components/Col/Col.story.js @@ -21,10 +21,7 @@ import Col from './Col'; export default { title: 'Layout/Grid/Col', - component: Col, - parameters: { - jest: ['Col'] - } + component: Col }; const StyledCol = styled(Col)( diff --git a/src/components/CurrencyInput/CurrencyInput.story.js b/src/components/CurrencyInput/CurrencyInput.story.js index db54ffa1d5..9a7ff2297a 100644 --- a/src/components/CurrencyInput/CurrencyInput.story.js +++ b/src/components/CurrencyInput/CurrencyInput.story.js @@ -22,8 +22,7 @@ export default { title: 'Forms/Input/CurrencyInput', component: CurrencyInput, parameters: { - docs: { page: docs }, - jest: ['CurrencyInput'] + docs: { page: docs } } }; diff --git a/src/components/Grid/Grid.story.js b/src/components/Grid/Grid.story.js index 7234fc28ac..9c9420c7c9 100644 --- a/src/components/Grid/Grid.story.js +++ b/src/components/Grid/Grid.story.js @@ -47,10 +47,7 @@ const StyledRow = styled(Row)` export default { title: 'Layout/Grid/Grid', - component: Grid, - parameters: { - jest: ['Grid'] - } + component: Grid }; export const staticColumns = () => ( diff --git a/src/components/Hamburger/Hamburger.story.tsx b/src/components/Hamburger/Hamburger.story.tsx index 45f891301e..07b9f96f99 100644 --- a/src/components/Hamburger/Hamburger.story.tsx +++ b/src/components/Hamburger/Hamburger.story.tsx @@ -20,10 +20,7 @@ import { Hamburger, HamburgerProps } from './Hamburger'; export default { title: 'Components/Hamburger', - component: Hamburger, - parameters: { - jest: ['Hamburger'] - } + component: Hamburger }; const HamburgerWithState = (props: HamburgerProps) => { diff --git a/src/components/Header/Header.story.js b/src/components/Header/Header.story.js index e396af0707..8dc5d2d2c6 100644 --- a/src/components/Header/Header.story.js +++ b/src/components/Header/Header.story.js @@ -21,10 +21,7 @@ import Hamburger from '../Hamburger'; export default { title: 'Components/Header', - component: Header, - parameters: { - jest: ['Header'] - } + component: Header }; export const base = () => ( diff --git a/src/components/Heading/Heading.story.tsx b/src/components/Heading/Heading.story.tsx index 90d4804c60..b3d8fdffba 100644 --- a/src/components/Heading/Heading.story.tsx +++ b/src/components/Heading/Heading.story.tsx @@ -26,8 +26,7 @@ export default { title: 'Typography/Heading', component: Heading, parameters: { - docs: { page: docs }, - jest: ['Heading'] + docs: { page: docs } } }; diff --git a/src/components/Hr/Hr.story.tsx b/src/components/Hr/Hr.story.tsx index 833fc7f0a9..23b1463487 100644 --- a/src/components/Hr/Hr.story.tsx +++ b/src/components/Hr/Hr.story.tsx @@ -22,8 +22,7 @@ export default { title: 'Components/Hr', component: Hr, parameters: { - docs: { page: docs }, - jest: ['Hr'] + docs: { page: docs } } }; diff --git a/src/components/IconButton/IconButton.story.tsx b/src/components/IconButton/IconButton.story.tsx index cbbeae8b91..696a5214a1 100644 --- a/src/components/IconButton/IconButton.story.tsx +++ b/src/components/IconButton/IconButton.story.tsx @@ -24,8 +24,7 @@ export default { title: 'Components/Button/IconButton', component: IconButton, parameters: { - docs: { page: docs }, - jest: ['IconButton'] + docs: { page: docs } } }; diff --git a/src/components/Image/Image.story.js b/src/components/Image/Image.story.js index 62e2d5c5fd..aafdd559d9 100644 --- a/src/components/Image/Image.story.js +++ b/src/components/Image/Image.story.js @@ -22,8 +22,7 @@ export default { title: 'Components/Image', component: Image, parameters: { - docs: { page: docs }, - jest: ['Image'] + docs: { page: docs } } }; diff --git a/src/components/InlineElements/InlineElements.story.js b/src/components/InlineElements/InlineElements.story.js index 7c0d6e0c39..1e44cfd738 100644 --- a/src/components/InlineElements/InlineElements.story.js +++ b/src/components/InlineElements/InlineElements.story.js @@ -40,10 +40,7 @@ const Container = styled('div')({ export default { title: 'Layout/InlineElements', - component: InlineElements, - parameters: { - jest: ['InlineElements'] - } + component: InlineElements }; export const twoInlineElements = () => ( diff --git a/src/components/InlineMessage/InlineMessage.story.js b/src/components/InlineMessage/InlineMessage.story.js index e954159045..f8241a5792 100644 --- a/src/components/InlineMessage/InlineMessage.story.js +++ b/src/components/InlineMessage/InlineMessage.story.js @@ -24,8 +24,7 @@ export default { title: 'Forms/InlineMessage', component: InlineMessage, parameters: { - docs: { page: docs }, - jest: ['InlineMessage'] + docs: { page: docs } } }; diff --git a/src/components/Input/Input.story.js b/src/components/Input/Input.story.js index 378ed67c6a..2ef865e705 100644 --- a/src/components/Input/Input.story.js +++ b/src/components/Input/Input.story.js @@ -24,8 +24,7 @@ export default { title: 'Forms/Input', component: Input, parameters: { - docs: { page: docs }, - jest: ['Input'] + docs: { page: docs } } }; diff --git a/src/components/Label/Label.story.tsx b/src/components/Label/Label.story.tsx index b6aa107e9c..e877685b43 100644 --- a/src/components/Label/Label.story.tsx +++ b/src/components/Label/Label.story.tsx @@ -22,8 +22,7 @@ export default { title: 'Forms/Label', component: Label, parameters: { - docs: { page: docs }, - jest: ['Label'] + docs: { page: docs } } }; diff --git a/src/components/List/List.story.tsx b/src/components/List/List.story.tsx index 0f56911d99..e8157207dd 100644 --- a/src/components/List/List.story.tsx +++ b/src/components/List/List.story.tsx @@ -23,8 +23,7 @@ export default { title: 'Typography/List', component: List, parameters: { - docs: { page: docs }, - jest: ['List'] + docs: { page: docs } } }; diff --git a/src/components/LoadingButton/LoadingButton.story.tsx b/src/components/LoadingButton/LoadingButton.story.tsx index e3d6da76fb..8fa402e150 100644 --- a/src/components/LoadingButton/LoadingButton.story.tsx +++ b/src/components/LoadingButton/LoadingButton.story.tsx @@ -23,8 +23,7 @@ export default { title: 'Components/Button/LoadingButton', component: LoadingButton, parameters: { - docs: { page: docs }, - jest: ['LoadingButton'] + docs: { page: docs } } }; diff --git a/src/components/Modal/Modal.embed.story.tsx b/src/components/Modal/Modal.embed.story.tsx index 6b34887db8..4e35fd68b8 100644 --- a/src/components/Modal/Modal.embed.story.tsx +++ b/src/components/Modal/Modal.embed.story.tsx @@ -24,10 +24,7 @@ import Text from '../Text'; import { ModalWrapper, ModalHeader, ModalFooter } from './components'; export default { - title: 'Components/Modal/Embedded', - parameters: { - jest: ['Modal'] - } + title: 'Components/Modal/Embedded' }; export const base = () => Hello World!; diff --git a/src/components/Modal/Modal.story.tsx b/src/components/Modal/Modal.story.tsx index 090c166519..a5199d1835 100644 --- a/src/components/Modal/Modal.story.tsx +++ b/src/components/Modal/Modal.story.tsx @@ -31,8 +31,7 @@ export default { title: 'Components/Modal', component: Modal, parameters: { - docs: { page: docs }, - jest: ['Modal', 'ModalWrapper', 'ModalHeader', 'ModalFooter'] + docs: { page: docs } } }; diff --git a/src/components/Notification/Notification.story.js b/src/components/Notification/Notification.story.js index fbaf022377..b0fcc06653 100644 --- a/src/components/Notification/Notification.story.js +++ b/src/components/Notification/Notification.story.js @@ -26,8 +26,7 @@ export default { title: 'Components/Notification', component: Notification, parameters: { - docs: { page: docs }, - jest: ['Notification'] + docs: { page: docs } } }; diff --git a/src/components/NotificationBanner/NotificationBanner.story.js b/src/components/NotificationBanner/NotificationBanner.story.js index 7f9778da80..2b313a88e1 100644 --- a/src/components/NotificationBanner/NotificationBanner.story.js +++ b/src/components/NotificationBanner/NotificationBanner.story.js @@ -22,10 +22,7 @@ import { base as Notification } from '../Notification/Notification.story'; export default { title: 'Components/Notification/NotificationBanner', - component: NotificationBanner, - parameters: { - jest: ['NotificationBanner'] - } + component: NotificationBanner }; export const base = () => ( diff --git a/src/components/NotificationList/NotificationList.story.js b/src/components/NotificationList/NotificationList.story.js index c095c7ffb7..831a309467 100644 --- a/src/components/NotificationList/NotificationList.story.js +++ b/src/components/NotificationList/NotificationList.story.js @@ -20,10 +20,7 @@ import { success as Notification } from '../Notification/Notification.story'; export default { title: 'Components/Notification/NotificationList', - component: NotificationList, - parameters: { - jest: ['NotificationList'] - } + component: NotificationList }; export const base = () => ( diff --git a/src/components/Pagination/Pagination.story.js b/src/components/Pagination/Pagination.story.js index 032bd73279..5e8ea8be23 100644 --- a/src/components/Pagination/Pagination.story.js +++ b/src/components/Pagination/Pagination.story.js @@ -23,8 +23,7 @@ export default { title: 'Components/Pagination', component: Pagination, parameters: { - docs: { page: docs }, - jest: ['Pagination'] + docs: { page: docs } } }; diff --git a/src/components/Popover/Popover.story.js b/src/components/Popover/Popover.story.js index f25039414f..7fabb7881e 100644 --- a/src/components/Popover/Popover.story.js +++ b/src/components/Popover/Popover.story.js @@ -26,10 +26,7 @@ const alignments = ['start', 'end', 'center']; export default { title: 'Components/Popover', - component: Popover, - parameters: { - jest: ['Popover'] - } + component: Popover }; const PopoverWithState = props => { diff --git a/src/components/ProgressBar/ProgressBar.story.tsx b/src/components/ProgressBar/ProgressBar.story.tsx index f96fe01469..453842a76c 100644 --- a/src/components/ProgressBar/ProgressBar.story.tsx +++ b/src/components/ProgressBar/ProgressBar.story.tsx @@ -24,8 +24,7 @@ export default { title: 'Components/ProgressBar', component: ProgressBar, parameters: { - docs: { page: docs }, - jest: ['ProgressBar'] + docs: { page: docs } } }; diff --git a/src/components/RadioButton/RadioButton.story.js b/src/components/RadioButton/RadioButton.story.js index c322218324..69519cc16c 100644 --- a/src/components/RadioButton/RadioButton.story.js +++ b/src/components/RadioButton/RadioButton.story.js @@ -22,8 +22,7 @@ export default { title: 'Forms/RadioButton', component: RadioButton, parameters: { - docs: { page: docs }, - jest: ['RadioButton'] + docs: { page: docs } } }; diff --git a/src/components/RadioButtonGroup/RadioButtonGroup.story.js b/src/components/RadioButtonGroup/RadioButtonGroup.story.js index 56420fc2a8..605444dc29 100644 --- a/src/components/RadioButtonGroup/RadioButtonGroup.story.js +++ b/src/components/RadioButtonGroup/RadioButtonGroup.story.js @@ -19,10 +19,7 @@ import RadioButtonGroup from './RadioButtonGroup'; export default { title: 'Forms/RadioButton/RadioButtonGroup', - component: RadioButtonGroup, - parameters: { - jest: ['RadioButtonGroup'] - } + component: RadioButtonGroup }; const options = [ diff --git a/src/components/Row/Row.story.js b/src/components/Row/Row.story.js index 7044cbd6a6..bfc3f69f48 100644 --- a/src/components/Row/Row.story.js +++ b/src/components/Row/Row.story.js @@ -22,10 +22,7 @@ import Col from '../Col'; export default { title: 'Layout/Grid/Row', - component: Row, - parameters: { - jest: ['Row'] - } + component: Row }; const StyledCol = styled(Col)( diff --git a/src/components/SearchInput/SearchInput.story.js b/src/components/SearchInput/SearchInput.story.js index a0667a3f02..fa55ef4af9 100644 --- a/src/components/SearchInput/SearchInput.story.js +++ b/src/components/SearchInput/SearchInput.story.js @@ -25,8 +25,7 @@ export default { title: 'Forms/Input/SearchInput', component: SearchInput, parameters: { - docs: { page: docs }, - jest: ['SearchInput'] + docs: { page: docs } } }; diff --git a/src/components/Select/Select.story.tsx b/src/components/Select/Select.story.tsx index 4dc9af619d..73b2b67be2 100644 --- a/src/components/Select/Select.story.tsx +++ b/src/components/Select/Select.story.tsx @@ -26,8 +26,7 @@ export default { title: 'Forms/Select', component: Select, parameters: { - docs: { page: docs }, - jest: ['Select'] + docs: { page: docs } } }; diff --git a/src/components/Selector/Selector.story.js b/src/components/Selector/Selector.story.js index 63e616bd1a..f272f5a2aa 100644 --- a/src/components/Selector/Selector.story.js +++ b/src/components/Selector/Selector.story.js @@ -23,8 +23,7 @@ export default { title: 'Forms/Selector', component: Selector, parameters: { - docs: { page: docs }, - jest: ['Selector'] + docs: { page: docs } } }; diff --git a/src/components/SelectorGroup/SelectorGroup.story.js b/src/components/SelectorGroup/SelectorGroup.story.js index 26cb9c505e..cc9596b3c2 100644 --- a/src/components/SelectorGroup/SelectorGroup.story.js +++ b/src/components/SelectorGroup/SelectorGroup.story.js @@ -19,10 +19,7 @@ import SelectorGroup from './SelectorGroup'; export default { title: 'Forms/Selector/SelectorGroup', - component: SelectorGroup, - parameters: { - jest: ['SelectorGroup'] - } + component: SelectorGroup }; const options = [ diff --git a/src/components/Sidebar/Sidebar.story.js b/src/components/Sidebar/Sidebar.story.js index 9151402a6d..61d4bcce9c 100644 --- a/src/components/Sidebar/Sidebar.story.js +++ b/src/components/Sidebar/Sidebar.story.js @@ -41,8 +41,7 @@ export default { title: 'Components/Sidebar', component: Sidebar, parameters: { - docs: { page: docs }, - jest: ['Sidebar'] + docs: { page: docs } } }; diff --git a/src/components/Spacing/Spacing.story.js b/src/components/Spacing/Spacing.story.js index 21ce68bdb9..939c527f62 100644 --- a/src/components/Spacing/Spacing.story.js +++ b/src/components/Spacing/Spacing.story.js @@ -20,10 +20,7 @@ import Button from '../Button'; export default { title: 'Layout/Spacing', - component: Spacing, - parameters: { - jest: ['Spacing'] - } + component: Spacing }; export const bottomSpacing = () => ( diff --git a/src/components/Spinner/Spinner.story.tsx b/src/components/Spinner/Spinner.story.tsx index 894d77fe38..ad0a2670f0 100644 --- a/src/components/Spinner/Spinner.story.tsx +++ b/src/components/Spinner/Spinner.story.tsx @@ -20,10 +20,7 @@ import Spinner from '.'; export default { title: 'Components/Spinner', - component: Spinner, - parameters: { - jest: ['Spinner'] - } + component: Spinner }; export const Base = () => ( diff --git a/src/components/Step/Step.story.js b/src/components/Step/Step.story.js index c8b6154c9c..9fbbf32e8c 100644 --- a/src/components/Step/Step.story.js +++ b/src/components/Step/Step.story.js @@ -38,8 +38,7 @@ export default { title: 'Components/Step', component: Step, parameters: { - docs: { page: docs }, - jest: ['Step'] + docs: { page: docs } } }; diff --git a/src/components/SubHeading/SubHeading.story.tsx b/src/components/SubHeading/SubHeading.story.tsx index 2af85b04e4..5008f2b9b5 100644 --- a/src/components/SubHeading/SubHeading.story.tsx +++ b/src/components/SubHeading/SubHeading.story.tsx @@ -26,8 +26,7 @@ export default { title: 'Typography/SubHeading', component: SubHeading, parameters: { - docs: { page: docs }, - jest: ['SubHeading'] + docs: { page: docs } } }; diff --git a/src/components/Table/Table.story.js b/src/components/Table/Table.story.js index 2644f31fe2..0b0ea947db 100644 --- a/src/components/Table/Table.story.js +++ b/src/components/Table/Table.story.js @@ -26,8 +26,7 @@ export default { title: 'Components/Table', component: Table, parameters: { - docs: { page: docs }, - jest: ['Table'] + docs: { page: docs } } }; diff --git a/src/components/Table/components/TableCell/TableCell.story.js b/src/components/Table/components/TableCell/TableCell.story.js index f62d022925..83d4df4776 100644 --- a/src/components/Table/components/TableCell/TableCell.story.js +++ b/src/components/Table/components/TableCell/TableCell.story.js @@ -20,10 +20,7 @@ import TableCell from '.'; export default { title: 'Components/Table/TableCell', - component: TableCell, - parameters: { - jest: ['TableCell'] - } + component: TableCell }; export const base = () => ( diff --git a/src/components/Table/components/TableHeader/TableHeader.story.js b/src/components/Table/components/TableHeader/TableHeader.story.js index 2929541366..736bb52a9b 100644 --- a/src/components/Table/components/TableHeader/TableHeader.story.js +++ b/src/components/Table/components/TableHeader/TableHeader.story.js @@ -20,10 +20,7 @@ import TableHeader from '.'; export default { title: 'Components/Table/TableHeader', - component: TableHeader, - parameters: { - jest: ['TableHeader'] - } + component: TableHeader }; export const base = () => ( diff --git a/src/components/Tabs/Tabs.story.js b/src/components/Tabs/Tabs.story.js index 8a2717eb72..ada429e56e 100644 --- a/src/components/Tabs/Tabs.story.js +++ b/src/components/Tabs/Tabs.story.js @@ -23,8 +23,7 @@ export default { title: 'Components/Tabs', component: Tabs, parameters: { - docs: { page: docs }, - jest: ['Tabs'] + docs: { page: docs } } }; diff --git a/src/components/Tag/Tag.story.js b/src/components/Tag/Tag.story.js index 6692355333..51b7206031 100644 --- a/src/components/Tag/Tag.story.js +++ b/src/components/Tag/Tag.story.js @@ -25,8 +25,7 @@ export default { title: 'Components/Tag', component: Tag, parameters: { - docs: { page: docs }, - jest: ['Tag'] + docs: { page: docs } } }; diff --git a/src/components/Text/Text.story.tsx b/src/components/Text/Text.story.tsx index a64ec04f72..1385b3cae0 100644 --- a/src/components/Text/Text.story.tsx +++ b/src/components/Text/Text.story.tsx @@ -29,8 +29,7 @@ export default { title: 'Typography/Text', component: Text, parameters: { - docs: { page: docs }, - jest: ['Text'] + docs: { page: docs } } }; diff --git a/src/components/TextArea/TextArea.story.js b/src/components/TextArea/TextArea.story.js index d3aadfcdd8..682a22d52e 100644 --- a/src/components/TextArea/TextArea.story.js +++ b/src/components/TextArea/TextArea.story.js @@ -24,8 +24,7 @@ export default { title: 'Forms/TextArea', component: TextArea, parameters: { - docs: { page: docs }, - jest: ['TextArea'] + docs: { page: docs } } }; diff --git a/src/components/Toggle/Toggle.story.js b/src/components/Toggle/Toggle.story.js index b036dbb709..7d97a1fe29 100644 --- a/src/components/Toggle/Toggle.story.js +++ b/src/components/Toggle/Toggle.story.js @@ -22,8 +22,7 @@ export default { title: 'Forms/Toggle', component: Toggle, parameters: { - docs: { page: docs }, - jest: ['Toggle'] + docs: { page: docs } } }; diff --git a/src/components/Tooltip/Tooltip.story.js b/src/components/Tooltip/Tooltip.story.js index 4405f73582..d50275492c 100644 --- a/src/components/Tooltip/Tooltip.story.js +++ b/src/components/Tooltip/Tooltip.story.js @@ -24,8 +24,7 @@ export default { title: 'Components/Tooltip', component: Tooltip, parameters: { - docs: { page: docs }, - jest: ['Tooltip'] + docs: { page: docs } } };