Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in sinon

Sinon stubbing helper method defined in same file

Stubbing ES6 function import in mocha using sinon stub

Sinon.js spy.called not working on RPCs

How can I test if a setTimeout was called appropriately?

nodejs: How to stub AWS s3 getobject with sinon

How to mock return value of async function?

What are alternatives for Sinon.js (JS mocking library)?

unit-testing sinon

How to stub the return value on a mocked method in SinonJS

Stub a method that does a callback using Sinon

sails.js + mocha + supertest + sinon: how to stub sails.js controller function

Unit Test function that returns Mongoose promise

Sinon js check stub called with exact arguments

How to mock request-promise-native for NodeJS unit testing?

node.js unit-testing sinon ava

Don't sinon.js spys catch errors?

Stubbing a function in sinon to return different value every time it is called

Stubbing S3 uploads in Node.js

Test value of variable inside javascript function - sinon / chai

How can `document.execCommand` be unit tested?

mocha.js sinon jsdom

ES2016 Class, Sinon Stub Constructor