A. I set up compilation of es6 + jsx to only pull what is being tested. If there is way to do this in web pack, make an issue and have at it. Web pack is greek to me, so I didn't want to fuss with it when I'm short on time.
B. I set up an easy way to render the dom for the testing; you just require and exec test-dom prior to loading react (so react knows its there)
C. Eventually, and if I get around to doing this, I will...we want to provide an easy way to stub out child components so to keep tests performant.
Couple of things to note here:
A. I set up compilation of es6 + jsx to only pull what is being tested. If there is way to do this in web pack, make an issue and have at it. Web pack is greek to me, so I didn't want to fuss with it when I'm short on time.
B. I set up an easy way to render the dom for the testing; you just require and exec
test-dom
prior to loading react (so react knows its there)C. Eventually, and if I get around to doing this, I will...we want to provide an easy way to stub out child components so to keep tests performant.