React storybook mock data

后端 未结 0 591
南方客
南方客 2020-12-08 19:05

I wrote a component that in useEffect do a server call to get data, now I want to test this component with storybook, it works well, but I want to mock the data, tests shoul

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