Closed BlaisinX closed 3 years ago
so thats for travis.ci, it tests all the functions to make sure they work.
first it imports all the testdata from the test data json file thingy, and then it goes through and tests each function with the input and checks to make sure it is the expected output.
so if you wish to start testing your jazz: 1.) Set up your test data in the JSON file 2.) Implement the testing thingy in test.js 3.) ??? 4.) Profit
okay, how do I run it
If you are using repl.it, go to "Shell," then type node test.js
.
okay thanks
but how does one use the test.js file