ethereum-org-website
ethereum-org-website copied to clipboard
RoadmapActionCard
Create story tests for RoadmapActionCard component
Prerequisite
To get yourself up to speed on how we use storybook on ethereum.org, learn more here
What to do
- [x] Move
/src/components/Roadmap/RoadmapActionCard.tsx
to/src/components/Roadmap/RoadmapActionCard/index.tsx
- [x] Fix any imports for RoadmapActionCard component
- [x] Create story file
/src/components/Roadmap/RoadmapActionCard/RoadmapActionCard.stories.tsx
- [x] Write story testing render of the RoadmapActionCard component in context of use.
Note: For reference of this component in use, look at /public/content/roadmap/index.md. You can see the context used is in a CardGrid component. Please reference implementation for your storybook test.