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.
yeah men, the problem was my code well not, the problem was my logic in that moment, but I can do it the challengue.
The problem was that I misunderstand the assert section.
thanks for the help
I can confirm the problem is in your code, check what it does with a 2 letters word for instance.
thanks for the help guys, I don't think about the version node, and I will thinking again my code.
That would be great, thanks.
I see. That's from Codewars test framework which we no longer use on Node 10+. I'll see if it's possible to port it.
With Node 10 I see this:
With Node 8.1.3 I see this:
Where one can click on Expected and Actual and see those values. The second is clearer.
@Chrono79 Node 10 should show expected and actual values.
The error message should be something like
expected 'A' to equal '65'
. What do you see?@Chrono79: Do you know how? AFAIK it's not possible. Thanks
@suic: Could I suggest you make Node 8.1.3 the default version? There it shows the Expected and Actual values, in Node 10 it doesn't (only the error message).
I've made some changes in the JS tests. Your code is incorrect. Here's an example test output:
Regards,
suic
This comment is hidden because it contains spoiler information about the solution
Can you paste here your code and mark it as a spoiler? Thanks, suic
I do not know what happens with the tests, when I perform my function it does it in the correct way in the way it is in the instructions, but it tells me that it expects another value and it is the sentence with repeat cheracteres.
What happen?