Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Do not ask for rounding. This is documented.
No random tests
Returning inconsistent datatypes is not a best practice. Either ask for
null
if there is no match, or ask forthrow
ing anError
. ( The former option seems better. )null
is not an array either, but it is the best encoding of an option type ( which it does not have ) JS has.".. is that in 7 years the older .."
".. the younger one."
It very much looks like you didn't have
describe
,it
andrequire("chai")
in your test suite. Please get with the times and build your test suite as documented.You also need a lot more tests.
Needs random tests