This is my component:  I try to simulate on press while testing using react testing library and this is the error I get:  Please let me know how I can test the on-press event. Any help is appreciated.