📜  无效的 chai 属性 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:09.941000             🧑  作者: Mango

代码示例1
Install the Sinon-Chai Package:
npm install --save sinon-chai

Initialization:
var chai = require('chai');
var sinon = require('sinon');

chai.use(require('sinon-chai'));