Create a simple test for the CardHeader component #40
Labels
good first issue
Good for newcomers
hacktoberfest
Open for Hacktoberfest 2020
help wanted
Extra attention is needed
tests
Add or improve existing tests
Projects
Milestone
Is your feature request related to a problem? Please describe.
Test coverage across the application is low. We need to build confidence that the components have the expected behaviour that we want and to help mitigate any regression in the future.
Describe the solution you'd like
We need to implement better test coverage across the library. Ideally each component should be accompanied by a test case written using Jest. At a minimum the test should check whether the component successfully shows any child
props
.We should have a test case covering the CardHeader component implemented using Jest. More info on Jest can be found here.
For examples of how this is done, take a look at existing test cases in the library. An example would be the typography or button components.
This is part of epic #19.
The text was updated successfully, but these errors were encountered: