nodezoo / nodezoo-web

nodezoo.com front end
MIT License
12 stars 61 forks source link

We have a test #99

Closed Georgette closed 8 years ago

Georgette commented 8 years ago

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.

mcdonnelldean commented 8 years ago

@georgette fabulous work as always, nice and clean. Good stuff