Sinon sandbox test integration for QUnit
Thanks @gorner for realizing the deprecation code wasn't working properly and even submitting a PR to fix it, with tests!
We've completely rewritten ember-sinon-qunit! Don't worry, though, the deprecated features are backwards-compatible even though it's a major release. Read this post to learn more!
This release exposes a lot of new APIs that were added to Sinon since this project was started. Huge thanks to @derekwsgray for undertaking that effort after identifying the missing features!
Also updates to the latest versions of Ember and other dependencies.
Sinon deprecated its old method of creating sandboxes, so now we've updated to the latest API: Sinon.createSandbox()
Thanks @GCheung55 for the upgrade!
This release sets RSVP as the default promise library for the sandbox, so that methods like stub.rejects
will use the same Promises that you use elsewhere in your Ember app!
This release upgrades to the latest versions of Ember, Sinon, and Ember-Sinon. It also removes the long-deprecated imports for the test-support files that run this addon. If you haven't already, please make sure to update your app to the syntax outlined in the README when you upgrade.
As of this release we now support the latest Ember versions! Also, thanks to great work by @snewcomer, we also provide a wrapper for QUnit.only, which allows you to run a single test in isolation.