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's fine I already figured it out. But to answer your question I don't edit sample cases so yes I'm sure I never added those samples.
Nevermind I figured it out. It turns out that for whatever reason the "TEST" and the "ATTEMPT" use 2 different function names. "TEST" uses
toSnakeCase
while "ATTEMPT" usestoUnderscore
. Very weird first time I've ever seen this on codewars.Thank you but actually I didn't rename it, for me it was called
toSnakeCase
. Renaming it totoUnderscore
breaks it and it says this:There's an issue with the tests once I press "Attempt". It shows this:
I'm using javascript and I have tested multiple solutions even putting them in replit and my solutions are fine.