Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in 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

How can I automatically restore all sinon.js spies after each test in Jasmine?

javascript jasmine sinon

Stubbing stripe with sinon - using stub.yields

javascript node.js sinon

Mocking Postgres for unit tests with Sinon.js in Node.js

javascript node.js sinon

How to test a stub returning a promise in an async test?

Sinon Spy is not called if the spied method is called indirectly

javascript sinon

sinon.js stub - can you call more than one callback on a single stubbed function?

javascript stub sinon

Why does this Sinon mock have a mocked method that is not a function?