当前分类:sinon-chai

javascript - Sinon模拟expects().withExactArgs(function() {})返回一次(从未被调用)

javascript - .then() 中的 Promise.reject 返回未定义

javascript - NodeJS : How to assert if event callback function was called using sinon

javascript - 使用sinon如何避免测试嵌套函数?

angular - 如何正确测试 $injector 的使用?

javascript - 无法使用 sinon 模拟护照验证 ('local' ) 方法

javascript - 如何在sinon js中测试设置的Interval

javascript - 如何使用 Mocha Chai Sinon 检查元素是否存在?

javascript - Cypress - 如何正确检测页面中的 JS 错误

node.js - 如何处理sinon中的catch,单元测试nodejs

node.js - Node : How to stub AWS s3 getobject with sinon

javascript - 如何使用 sinon 模块模拟 axios 请求

javascript - Sinon-chai 调用With(new Error()) 并带有确切消息

node.js - 如何从fs.statSync stub isFile

javascript - 如何使用 sinon 验证构造函数是否被调用

javascript - 如何用 sinon/chai 测试 axios 请求参数

node.js - 如何在 Express js 单元测试中使用 sinon js

angularjs - 使用 sinon、mocha、chai 进行 Angular 测试

unit-testing - 对 Firebase : what's the "right way" to test/mock `transaction` s with sinon. js 的 Cloud Functions 进行单元测试

unit-testing - 模拟使用箭头函数作为参数调用的方法

热门标签: