Calling undefined parameter - Jest tesing

后端 未结 0 1133
执念已碎
执念已碎 2020-12-24 05:30

I had a problem with testing in jest and i\'ve found solution like this:

test(\'the data is peanut butter\', (done) => {
  function callback(data) {
    ex         


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