mock.expects('find') .returns({ lean: sinon.stub().resolves(productResults) }) mock.expects('find') .returns({ lean: sinon.stub().returns(productResults) })