If you are faced with these problems, it's a good idea to try Sinon.JS. 那麼,其他種類的方法要怎麼測試呢, 比如只調用其它方法, 不返回任何值 ...
確定! 回上一頁