阅读背景:

如何检查两个对象具有相同的属性名集?

来源:互联网 

I am using node, mocha, and chai for my application. I want to test that my returned results data property is the same "type of object" as one of my model objects. (Very similiar to chai's instanceof). I just want to confirm that the two objects have the same sets of property names. I am using node, mocha, and chai for my applica




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: