How to compare arbitrary complicated object with Mocha+Chai ignoring function properties

前端 未结 0 976

In below example, the second test works (there is the function property in specified position). The first test does not work, because the Chai can not compare the functions corr

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