Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in sinon

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?

Is it possible to stub out or spy on the setState method in React when doing unit tests?

Nodejs: Testing with sinon and async/await

undefined|0|ReferenceError: Strict mode forbids implicit creation of global property 'csrf_token'

sinon not stubbing property value

sinon stub

Stubbing a promisified function with sinon and bluebird

stubbing an entire class for testing in sinon

Stub out module function

javascript node.js sinon

How do I fake-time a jQuery animation using Sinon in a Jasmine unit test?