Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in sinon

How to filter requests in Sinon

javascript jasmine sinon

Mocking constructor functions in node

Sinon to unit test 'catch' statement

Stubbing ES6 prototype methods using sinon

Failing test displays "Error: timeout of 2000ms exceeded" when using Sinon-Chai

QUnit, Sinon.js - How do I ensure Post to Fake Server has correct request body?

Sinon.js combining calledWith number of times

unit-testing sinon

Mocking http requests in node using mocha and sinon

ts-mockito - Stubbing method doesn't work when argument is a custom object

Backbone.js view tests using Sinon Spies in a browser

stubbing a function in a proxyquired object

sinon.stub() vs sinon.sandbox.stub()?

Testing axios calls with Sinon, with redux and Karma

Stubbing nested function calls in sinon

Stubbing a prototype method with sinon

Bluebird promises freeze when using Sinon's fake timer

node.js sinon bluebird

Stub save Instance Method of Mongoose Model With Sinon

Test that a function calls another function in an ES6 module with Sinon.js

What is the correct way of using sinon spy restore or reset?

sinon stub not replacing function