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.
It should be stated in the description that the returned object shouldn't have a key with the name of "secret".
I'm sorry, but there are no tests for JavaScript version of this kata.
Do we have to write it ourselves (which is frankly not as bad as it sounds, but still)?
Nice Kata. In addition to getSecret() and setSecret I also had a secret property. The error message I got was:
"no property called 'secret'"
It took me way to long to figure out I just needed to remove the secret property.
I feel something like:
"There should be no secret property"
would be much more effective.
Am I the only one who gets all tests to pass, but then gets a console.log is undefined error, preventing the test from succeeding?