Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in sinon

How to unit test a function which calls another that returns a promise?

Mock document.getElemetById('.form').getContext('2d') using sinon

How to stub https.request response.pipe with sinon.js?

sinon.replace vs sinon.stub just to replace return value?

javascript sinon

How to mock only one method using Sinon?

Sinon: force callback call

node.js sinon

Sinon cannot find method 'spy'

correct usage of sinon's fake XMLHttpRequest

How to load a JS file that is not a module in dojo?

javascript dojo loading sinon

How should I avoid stubbing properties with Sinon.js

javascript sinon

Testing: mocking node-fetch dependency that it is used in a class method

testing sinon stub ava

How to do subsequent calls on same url via Nock having different status code

node.js sinon nock

Sinon does not seem to spy for an event handler callback

Catching thrown errors with SinonJS

Augmenting a TypeScript Module

typescript sinon

nodejs - stub module.exports functions with sinon

mysql node.js sinon chai

Stubbing vuex getters with sinonjs

Stub a function from a ES6 module without babel