Skip to content

Releases: sinonjs/sinon

Pre-release #2 of Sinon 2

27 Jul 12:55
Compare
Choose a tag to compare
Pre-release
  • CJSify remaining tests
  • Expose sinon.assert on sandbox instances. (#1076)
  • Add resetBehavior and resetHistory to sandbox API (#1072)
  • Add sandbox.reset() docs
  • Allow xhr.respond(0) to simulate a network failure and call onerror
  • Use event loaded instead of error event for code like 403, 500, etc.
  • Fix invalid markdown in fake-timers.ms (#1054)
  • Do not invoke getters in walk (#1059)
  • ReactNative compatibility. Allow sinon fakeServer to run in React Native (#1052)
  • Fix onerror event triggering for fake xhr requests (#1041)
  • Allow sinon.calledInOrder to be called either with an array of spies or multiple spies as parameters. Add explicit test cases for sinon.calledInOrder
  • Document faking of setImmediate and clearImmediate
  • Add support for es6 Symbol to wrapMethod, match.same, yieldTo, match methods.
  • Transition to Mocha and ESLint for tests
  • Feature detect proto to exclude a timer test in IE 10
  • Migrate Packaged Tests to use a Browserified Build.
  • Improve Blob support detection logics
  • Remove sinon.test() and sinon.testCase (now in sinon-test module.)
  • Remove sinon.log and sinon.logError
  • Fix 648: test for this.proxy before trying toString on it
  • use the correct sinon.deepEqual to test sinon matcher
  • Get rid of eval in sinon spy

Pre-release #1 of Sinon 2

27 Jul 12:47
Compare
Choose a tag to compare
Pre-release
  • Fix #875 Proper support UTF8 payloads
  • CommonJS-ified some of the things
  • updated readyStateChange to align to the w3c spec (somewhat)
  • added some additional progress event verification
  • added a test to ensure load is not fired before abort
  • added test to ensure event ordering
  • allow progress events with loaded/total values of 0
  • Fix #867: Walk properties only once
  • Removed unnecessary module wrappers and double test run in NodeJS.
  • null-check the object passed to sinon.stub
  • implemented stub#resetHistory method - fixes #863
  • Fix #851: Do not attempt to re-stub constructors
  • Fix #847: Ensure walk invokes accessors directly on target
  • stub.reset also resets behavior