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 only issue is that if list is empty, you will return non empty array... which is think is wrong...
A lot of people seem to be caught up on the fact that the mocked fetch function doesn't return any HTTP status information with the response. Maybe it would be appropriate to either have the mock fetch function return HTTP status information in its response or add a note to the description that warns users not to bother checking for it.
This kata is completable without cheesing the tests. It works, and I just solved it, so there is no need to help people get around the tests like you have.
This comment is hidden because it contains spoiler information about the solution
Same problem bro
Great kata and specially entire series to learn more and better about the React JavaScript library, just to start with.
Very interesting kata to learn with, thank you.
I can't update the tests to be more of a contains assert and it's an exact match.
What that means is in the child don't put spaces before and/or after the curly bracers.
Thanks for submitting the TS translation.
Appologies for not doing it sooner, I've been away/inactive on Codewars.
someone has approved it
when I try:
const res = await fetch(apiUrl);
if (!res.ok) throw new Error(
No jokes at url: ${apiUrl});solution can't pass the tests
There is no such section anywhere anymore
All the test are passing, but when I submit the attempt I get the following error:
EasterEgg should render li element with a name
Test Failed
Failure
TypeError: Cannot read property 'contextTypes' of undefined
TypeScript translation based on existing JavaScript version.
great one
Loading more items...