Skip to content

Commit

Permalink
docs(docs): remove jest story parameter
Browse files Browse the repository at this point in the history
docs/remove-tests
  • Loading branch information
connor-baer committed Jun 18, 2020
1 parent 5aec308 commit 2dc7fdd
Show file tree
Hide file tree
Showing 62 changed files with 62 additions and 174 deletions.
3 changes: 1 addition & 2 deletions src/components/Anchor/Anchor.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export default {
title: 'Typography/Anchor',
component: Anchor,
parameters: {
docs: { page: docs },
jest: ['Anchor']
docs: { page: docs }
}
};

Expand Down
5 changes: 1 addition & 4 deletions src/components/AspectRatio/AspectRatio.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ const Background = styled('div')`

export default {
title: 'Components/AspectRatio',
component: AspectRatio,
parameters: {
jest: ['AspectRatio']
}
component: AspectRatio
};

export const base = () => (
Expand Down
3 changes: 1 addition & 2 deletions src/components/Badge/Badge.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ export default {
title: 'Components/Badge',
component: Badge,
parameters: {
docs: { page: docs },
jest: ['Badge']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/Blockquote/Blockquote.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ export default {
title: 'Typography/Blockquote',
component: Blockquote,
parameters: {
docs: { page: docs },
jest: ['Blockquote']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/Button/Button.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ export default {
title: 'Components/Button',
component: Button,
parameters: {
docs: { page: docs },
jest: ['Button']
docs: { page: docs }
}
};

Expand Down
5 changes: 1 addition & 4 deletions src/components/ButtonGroup/ButtonGroup.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ import Button from '../Button';

export default {
title: 'Components/Button/ButtonGroup',
component: ButtonGroup,
parameters: {
jest: ['ButtonGroup']
}
component: ButtonGroup
};

export const base = () => (
Expand Down
5 changes: 1 addition & 4 deletions src/components/Calendar/RangePicker.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ import RangePicker from './RangePicker';

export default {
title: 'Components/Calendar/RangePicker',
component: RangePicker,
parameters: {
jest: ['RangePicker']
}
component: RangePicker
};

const RangePickerWithState = props => {
Expand Down
5 changes: 1 addition & 4 deletions src/components/Calendar/SingleDayPicker.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ import SingleDayPicker from './SingleDayPicker';

export default {
title: 'Components/Calendar/SingleDayPicker',
component: SingleDayPicker,
parameters: {
jest: ['SingleDayPicker']
}
component: SingleDayPicker
};

const SingleDayPickerWithState = props => {
Expand Down
5 changes: 1 addition & 4 deletions src/components/CalendarTag/CalendarTag.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ import CalendarTag from './CalendarTag';

export default {
title: 'Components/Calendar/CalendarTag',
component: CalendarTag,
parameters: {
jest: ['CalendarTag']
}
component: CalendarTag
};

export const base = () => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ import CalendarTagTwoStep from './CalendarTagTwoStep';

export default {
title: 'Components/Calendar/CalendarTagTwoStep',
component: CalendarTagTwoStep,
parameters: {
jest: ['CalendarTagTwoStep']
}
component: CalendarTagTwoStep
};

export const base = () => (
Expand Down
3 changes: 1 addition & 2 deletions src/components/Card/Card.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ export default {
title: 'Components/Card',
component: Card,
parameters: {
docs: { page: docs },
jest: ['Card']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/CardList/CardList.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ export default {
title: 'Components/Card/CardList',
component: CardList,
parameters: {
docs: { page: docs },
jest: ['CardList']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/Carousel/Carousel.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ export default {
title: 'Components/Carousel',
component: Carousel,
parameters: {
docs: { page: docs },
jest: ['Carousel']
docs: { page: docs }
}
};

Expand Down
5 changes: 1 addition & 4 deletions src/components/Carousel/components/Buttons/Buttons.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => (
Expand Down
5 changes: 1 addition & 4 deletions src/components/Carousel/components/Slide/Slide.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => (
Expand Down
5 changes: 1 addition & 4 deletions src/components/Carousel/components/Status/Status.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => (
Expand Down
3 changes: 1 addition & 2 deletions src/components/Checkbox/Checkbox.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ export default {
title: 'Forms/Checkbox',
component: Checkbox,
parameters: {
docs: { page: docs },
jest: ['Checkbox']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/CloseButton/CloseButton.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import CloseButton from './CloseButton';
export default {
title: 'Components/Button/CloseButton',
parameters: {
component: CloseButton,
jest: ['CloseButton']
component: CloseButton
}
};

Expand Down
5 changes: 1 addition & 4 deletions src/components/Col/Col.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)(
Expand Down
3 changes: 1 addition & 2 deletions src/components/CurrencyInput/CurrencyInput.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export default {
title: 'Forms/Input/CurrencyInput',
component: CurrencyInput,
parameters: {
docs: { page: docs },
jest: ['CurrencyInput']
docs: { page: docs }
}
};

Expand Down
5 changes: 1 addition & 4 deletions src/components/Grid/Grid.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ const StyledRow = styled(Row)`

export default {
title: 'Layout/Grid/Grid',
component: Grid,
parameters: {
jest: ['Grid']
}
component: Grid
};

export const staticColumns = () => (
Expand Down
5 changes: 1 addition & 4 deletions src/components/Hamburger/Hamburger.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
5 changes: 1 addition & 4 deletions src/components/Header/Header.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ import Hamburger from '../Hamburger';

export default {
title: 'Components/Header',
component: Header,
parameters: {
jest: ['Header']
}
component: Header
};

export const base = () => (
Expand Down
3 changes: 1 addition & 2 deletions src/components/Heading/Heading.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ export default {
title: 'Typography/Heading',
component: Heading,
parameters: {
docs: { page: docs },
jest: ['Heading']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/Hr/Hr.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export default {
title: 'Components/Hr',
component: Hr,
parameters: {
docs: { page: docs },
jest: ['Hr']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/IconButton/IconButton.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ export default {
title: 'Components/Button/IconButton',
component: IconButton,
parameters: {
docs: { page: docs },
jest: ['IconButton']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/Image/Image.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export default {
title: 'Components/Image',
component: Image,
parameters: {
docs: { page: docs },
jest: ['Image']
docs: { page: docs }
}
};

Expand Down
5 changes: 1 addition & 4 deletions src/components/InlineElements/InlineElements.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ const Container = styled('div')({

export default {
title: 'Layout/InlineElements',
component: InlineElements,
parameters: {
jest: ['InlineElements']
}
component: InlineElements
};

export const twoInlineElements = () => (
Expand Down
3 changes: 1 addition & 2 deletions src/components/InlineMessage/InlineMessage.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ export default {
title: 'Forms/InlineMessage',
component: InlineMessage,
parameters: {
docs: { page: docs },
jest: ['InlineMessage']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/Input/Input.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ export default {
title: 'Forms/Input',
component: Input,
parameters: {
docs: { page: docs },
jest: ['Input']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/Label/Label.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export default {
title: 'Forms/Label',
component: Label,
parameters: {
docs: { page: docs },
jest: ['Label']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/List/List.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ export default {
title: 'Typography/List',
component: List,
parameters: {
docs: { page: docs },
jest: ['List']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/LoadingButton/LoadingButton.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ export default {
title: 'Components/Button/LoadingButton',
component: LoadingButton,
parameters: {
docs: { page: docs },
jest: ['LoadingButton']
docs: { page: docs }
}
};

Expand Down
5 changes: 1 addition & 4 deletions src/components/Modal/Modal.embed.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => <ModalWrapper>Hello World!</ModalWrapper>;
Expand Down
3 changes: 1 addition & 2 deletions src/components/Modal/Modal.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ export default {
title: 'Components/Modal',
component: Modal,
parameters: {
docs: { page: docs },
jest: ['Modal', 'ModalWrapper', 'ModalHeader', 'ModalFooter']
docs: { page: docs }
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/Notification/Notification.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ export default {
title: 'Components/Notification',
component: Notification,
parameters: {
docs: { page: docs },
jest: ['Notification']
docs: { page: docs }
}
};

Expand Down
Loading

0 comments on commit 2dc7fdd

Please sign in to comment.