I\'m writing test code for my react app, but somehow, it always fails.
My app code is very simple, there is only one button, and if it\'s clicked, a func