React-Native-Testing-Library 'warning - an updated was not wrapped in act(…)

后端 未结 0 1970
没有蜡笔的小新
没有蜡笔的小新 2021-01-27 20:21

I think this question has been asked, but no solution was provided.

I\'m using RNTL trying to unit test a simple RN component.

My example below:

            


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