React testing library/jest - How to write unit test for switch statement

后端 未结 0 1129
轮回少年
轮回少年 2021-01-14 02:46

I have a simple switch statement below and would like to write a unit test for it using React testing library and jest. The expression in the switch which is country is comi

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