Using a custom chai method assertion with chai-as-promised

前端 未结 0 1600
情歌与酒
情歌与酒 2020-12-23 11:41

I want to add a custom assertion/method like this:

chai.use(function (chai, utils) {
  var Assertion = chai.Assertion;
         


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