Here is what it looks like before running the tests, note the console outputs:
Here is what it looks like after running the tests:
I think that my console.logs show that it passes, am I missing something?
Thanks!
Here is what it looks like before running the tests, note the console outputs:
Here is what it looks like after running the tests:
I think that my console.logs show that it passes, am I missing something?
Thanks!
It’s a convention here to paste in your code and post a link to the exercise instead of screenshots.
With that said, you are probably failing one test case where the example string has space infront. Therefore your code will generate a dash in the front when string is returned.
Thanks so much, I didn’t notice that leading space, and I’ll be sure to follow convention from here on out.