Closed jktravis closed 7 years ago
Hey there @jktravis - man, THANK YOU so much for all of this great work! I'm on my way out the door right now, but I'll take a look at all of these PR's when I get back later this afternoon.
I just wanted to give you the heads-up asap that I saw these and really, really appreciate it. :)
test
folder totools
and placed atest_setup
file there.I'm in favor of co-locating tests with the files that are being tested. It often makes things easier to navigate in my opinion. Feel free to recreate a test folder and move the tests there.
Code coverage data is stored in the
.nyc_output
folder. The HTML representation is in thecoverage
folder. These are ignored in git because they are rewritten after every test. To update the data, simply runnpm test
. To update the HTML report, runnpm run test:report
. I decided not to put this onposttest
since the output is a little verbose, and it might cause people to overlook failing tests.I didn't write a test for any of the jQuery stuff that was in the original file.