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.
This is for sure more of a "Clever" approach, but this totally makes sense in production if it is properly documented in comments.
It actually does not matter what you assign there. It is overriden in the tests anyway
Sad that this kata is easily solved by not even using refs, because the tests are not actually emulating user input on a form control, but rather hardcoding the value on the instance field.
But this is a nice try to create a React task, because there is so much tooling going on in the tests. I think there should be more of these.