This repository was archived by the owner on Dec 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Implement unit testing #5
Copy link
Copy link
Open
Labels
Milestone
Description
Unit testing needs to be implemented at some point. These tests should be fairly extensive making sure that the components and utilities function as expected.
Some tests that need to be created:
- Make sure the
Rowcomponent accepts thedivisionsprop - Make sure the
Rowcomponent applies thedivisionsprop to childColumnsandRows. - Make sure the
Rowcomponent only applies thedivisionsprop to children of typeColumnorRow. - Make sure the
Columncomponent renders atwidth: (100% ÷ props.divisions) * sm- Repeat the above test for every
mediasize.
- Repeat the above test for every
- Make sure the
Columncomponent renders the margin-left in accordance with thexxShiftprop.
I'm sure there will be more to list, but this is a solid start for now.
Reactions are currently unavailable