How to make Enzyme or Jest wait until context work

前端 未结 0 1561
情话喂你
情话喂你 2020-12-19 03:19

I am passing a function to the context that is called when the component that receives this context is mounted.This function set value to parent component state.

Exam

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