Sinon.JS v1.8.0 Release Notes
Release Date: 2014-02-02 // about 10 years ago-
- β Add clearImmediate mocking support to the timers API (Tim Perry)
- Mirror custom Date properties when faking time
- π Improved Weinre support
- β‘οΈ Update call properties even if exceptions are thrown (Tim Perry)
- β‘οΈ Update call properties even if exceptions are thrown (Tim Perry)
- Reverse matching order for fake server (Gordon L. Hempton)
- π Fix restoring globals on another frame fails on Firefox (Burak YiΔit Kaya)
- π Handle stubbing falsey properties (Tim Perry)
- Set returnValues correctly when the spied function is called as a constructor (Tim Perry)
- When creating a sandbox, do not overwrite existing properties when inject properties into an object (Sergio Cinos)
- β Added withCredentials property to fake xhr (Geries)
- Refine behavior withArgs error message (Tim Fischbach)
- Auto-respond to successive requests made with a single XHR object (Jan SuchΓ½)
- β Add the ability for mock to accept sinon.match matchers as expected arguments (Zcicala)
- β Adding support for XMLHttpRequest.upload to FakeXMLHttpRequest (Benjamin Coe)
- π Allow onCall to be combined with returns* and throwsException in stub behavior sequences (Tim Fischbach)
- π Fixed deepEqual to detect properties on array objects
- π Fixed problem with chained timers with delay=0 (Ian Lewis)
- π Use formatio in place of buster-format (Devin Weaver)