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.
event.target don't provide properties as name, id, type. Just the property "value"
Kata should update to allow new syntaxes and commands including useState and useRef. (currently they cannot be used)
Different functions are mocked in the sample and actual tests, in sample tests
global.setIntervalis mocked while in the actual testssetIntervalis mocked. They're different.The entirety of this custom
fetchfunction is illegal: it doesn't obey the standards ofwindow.fetch, which should return a response object that requires.json()to read.And why reading
.jsonfile returns text as a string?There is 'select' id instead of 'priority' in the last test.
It is lead to "event.target.id === 'select' ? 'priority' : event.target.id" construction.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The test description is wrong:
the actual testcase tested the class property
this.timerId. Noticetimervstime.Got me stuck for a long time...
This comment is hidden because it contains spoiler information about the solution