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.
The merge function has been deprecated. You should consider updating to mergeLeft (it will make the placeholder redundant).
Using Ramda has no added value, and its use is not even tested.
Please specify and test a new Array of new Objects has to be returned.
The behaviour for empty input lists is specified only in an Example test. That is not the place for it - it should be in the Description.
It's also very illogical -
null
is to be returned if at least one element is not divisible by three. This is not the case. The mean of an empty list should beundefined
, I think.Can existing books have
errorNotice: false
or they are guaranteed to not haveerrorNotice
?assertSimilar
shouldn't be used for objects because property enumeration order is unspecified.You can use
Test.assertDeepEquals
instead ofTest.assertSimilar
, which gets rid of all the unnecessary string escaping.