I have built an application in react native, and am now going through the process of updating some old test suites. The test running an error is a component test using react