How do I mock SQLite.openDatabase using jest in expo app?

后端 未结 0 1036
既然无缘
既然无缘 2020-11-22 01:47

I have been having trouble figuring out how to mock SQLite functions with jest in a react native app. The code under test looks like this:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题