I get this error while running a jest test that has realm object called in it ie in the component. The component that is being tested it a react-native typescript component.