Fake timers are synchronous implementations of setTimeout and friends thatSinon.JS can overwrite the global functions with to allow you to more easilytest ...
確定! 回上一頁