Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in sinon

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

Sinon Stub not working for exported function

javascript sinon sinon-chai

Testing Marionette Modules in isolation with Jasmine

Setting up a RESTful backend mock with Sinon.js for an Angular.js application

Overriding function with Sinon.mock?

node.js mocking sinon

React Testing - TypeError: localStorage.getItem is not a function

reactjs sinon chai jestjs enzyme

How to test await/async with DynamoDb on nodejs?

node.js es6-promise sinon chai

Sinon - stubbing function with callback - causing test method to timeout

Sequelize Model Unit Test

SinonJS: calledWith() with exact object

angular unit-testing sinon

How to test multiple calls to the same function with different params?

ES2016 Class, Sinon Stub Constructor

Calling different callbacks for stub on firstcall and second call

sinon

Difference between fake, spy, stub and mock of sinon library ( sinon fake vs spy vs stub vs mock )