Metode rantai Sinon
mock.expects('find')
.returns({ lean: sinon.stub().resolves(productResults) })
mock.expects('find')
.returns({ lean: sinon.stub().returns(productResults) })
Restu Wahyu Saputra