Closed a-b-r-o-w-n closed 8 years ago
stub = sinon.stub.returnsPromise().resolves('some thing'); someFunction(); // stub will resolve with 'some thing' someFunction(); // stub will resolve with undefined
What is someFunction in this example?
someFunction
someFunction is a promise under test that uses the stub.
stub
Is this completed fixed by #12? If it is, it should be closed.