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 issue I've raised was that node v10 does not work properly which is true if the tests fail, but anyway nice that it is fixed
Should be fixed now.
Yeah, test suite needs rework, but the issue you raised at first had nothing to do with it.
For the default test cases it says:
"No output was produced.
Make sure tests are written properly using
describe
andit
(required for Node 10)."I know I could refactor the testcases, but it should work by default with the given tests.
There is also another Issue by @gpickin which means the same.
What do you mean? AFAIK it works, error messages (which you should carefully read) most likely come from your code giving invalid results.
I just translated the original kata 1 by 1 to PHP. Isn't it unfair if there are different test cases for different languages?
Edit: I have refactored the testcase argument order. (There is no helper function)
The arguments of
assertEquals
are in the wrong order.Helper function should be private.
How about random tests?
This comment is hidden because it contains spoiler information about the solution
Node v10 does not work properly