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.
No worries!
It was published with
Node v12.x
, which does not needdescribe
. This breaksNode v8.1.3
, which does require it. I do not consider that a problem. Get with the times.You're right, my bad I should have checked that. I solved this kata quite a long ago and the test page remained on the old version. Thank you and sorry for then inconvenience.
There's a bug in your code.
Are you on a legacy version? Try selecting
Node v12.x
.He probably did, but he doesn't understand that the correct structure is
describe -> it -> assertions
, so his edits broke everything - not sure how he managed to publish it at all this way.Johan I'm not sure to understand, have you updated JS tests lately? If so, they seem broken, see issue at the top of the page.
JavaScript tests (both basic and attempt) crash:
I have problems too, but it seems different from you. I don't know if it's related.
Edit: Well, I don't think it is. I think your code needs some debugging, check input, output, analyze log messages... See there: https://docs.codewars.com/training/troubleshooting
There seems to be an issue with JS version. Sample and all random tests are fine, but fixed test shows an error "expected 100 to equal 0". Can't wrap my head around how it is possible. Can anyone help?
thanks
It's in the description.
why array.sort() not working
this doesn't pass all the time,