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.
Got it! Thank you so much for your help.
Thanks for your reply.
The test is expecting
undefined
... I am probably missing something, but I think that iffunc
isfunction (_id) { return _id; }
andparams
is{ _id: 'test' }
, thendefaultArguments(function (_id) { return _id; },{_id:"test"})
should equaltest
?I am blocked with the exact same problem (reported today)... I am wondering if you are still blocked?
I have the exact same problem as gbedardsice (see below): I think test #29 is wrong. The arguments for that test are (when I add some logs):
The assertion failure is:
defaultArguments(id,{id:"test"})(undefined) - Expected: undefined, instead got: test
So it seems that "something" is replacing
{id: 'test'}
by{_id: test}
?Note: I tried with
node 6
andnode 0.10
: same issue.I think this is to test that
You should be able to call defaultArguments repeatedly to change the defaults.
(from kata detailed instruction).