Closed clayne11 closed 8 years ago
I don't understand the use case of this. (May be I'm bit wrong on this). Could you add the use case of this API as a test case?
To test it fully I need to use full DOM rendering. Do you want me to set up a test with JSDOM?
Hmm. May be we need it. Try this: https://github.com/kadira-samples/react-button/blob/master/.scripts/mocha_runner.js
I added a test showing and validating the use case using JSDOM
.
Got it. Thanks.
Fixes #67