2 ms·
This is my preferred approach as well - and it (anecdotally) works great, since you can then just manually inject any props/spies as needed like any other "dumb
by eiriklv 10y ago
This is my preferred approach as well - and it (anecdotally) works great, since you can then just manually inject any props/spies as needed like any other "dumb" component.
Edit: But he might be pointing to the testing of the actual HOCs/component decorating functions.