Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in sinon

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?

Use sinon.js to create a "spy object" with spy methods based on a real constructor/prototype

Sinon-chai calledWith(new Error()) and with exact message

How Do I Stub webpack's require.ensure?