Skip to content

Pre-release #2 of Sinon 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@fatso83 fatso83 released this 27 Jul 12:55
· 2165 commits to main since this 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