Open
Description
The DatePicker
component is already created and it's functional, but it was written some time ago and it can be refactored (migrating from class-based to hooks). In order to achieve a good result, we also need a good test coverage.
Running storybook locally
- Fork and clone the repo
- Install the necessary dependêncies using npm (run
npm i
on the root folder) - Start storybook locally by running
npm start
, this will start a local server and opens a tab on your browser automatically - Uncomment the code on
src/DatePicker/DatePicker.stories.js
file in order to make it appear - Create a
DatePicker.spec.js
file on the same folder to write tests
Aditional information
We're using React Testing Library to unit test our components and we have a good test coverage, so you can rely on the existing ones.
Before start working on this bug leave a comment here so we can avoid more than one person working on the issue, if you have any doubts feel free to drop a comment here or join us at Slack 🕺