react testing library props test passed without props

前端 未结 0 1372
粉色の甜心
粉色の甜心 2021-01-03 01:21

I\'m tried to practice TDD with react and react testing library.

So, I have some basic button component and test for it. I\'ll have in this component some prop like i

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