Unittest `parseProps` directly
objectliteral opened this issue · comments
Peter Steinberg commented
Currently a lot of the test cases for withState
actually only test logic that is implemented in parseProps
. This makes it confusing when withState
contains soooo many tests, especially since they don't actually test the code in withState
(that part was refactored to a separate function).
A testsuite exclusively for parseProps
should be created and a couple of test cases for withState
can be removed.