我使用@ test -library/react-native来测试我的RN应用程序。当我运行yarn测试时,出现以下错误。@testing-library/react-native should have "jest-preset.js" or "jest-preset.json" file at the root.我的应用程序使用typescript。test": "jest -
我安装了Node.js、python 2.7.13、git for windows、C++,并使用cmd:npm install -g react-native-cli、react-native init我看到了信息To run your app on Android
最后,我在项目根目录上使用cmd:react-native run-android。我像这样打开我的安卓工作室:
我的问题是下一步是什么?我现在的步调正确吗?
如有任何帮助,我们将不胜感激,谢谢。我接受了这个