Test stubs are said to be preprogrammed behavioral functions that are used ... case always just return the number 2 sum = sinon.stub(function(){ return 2; }); ...
確定! 回上一頁