ember-qunit
Advanced tools
Comparing version 0.4.23 to 0.4.24
# Change Log | ||
## [v0.4.24](https://github.com/emberjs/ember-qunit/tree/v0.4.24) (2017-04-10) | ||
[Full Changelog](https://github.com/emberjs/ember-qunit/compare/v0.4.23...v0.4.24) | ||
**Merged pull requests:** | ||
- Revert "Reset `module` variable after all tests in module are completed." [\#263](https://github.com/emberjs/ember-qunit/pull/263) ([trentmwillis](https://github.com/trentmwillis)) | ||
## [v0.4.23](https://github.com/emberjs/ember-qunit/tree/v0.4.23) (2017-04-06) | ||
@@ -421,3 +428,3 @@ [Full Changelog](https://github.com/emberjs/ember-qunit/compare/v2.1.0...v0.4.23) | ||
## [v0.2.1](https://github.com/emberjs/ember-qunit/tree/v0.2.1) (2015-02-02) | ||
[Full Changelog](https://github.com/emberjs/ember-qunit/compare/v0.2.0...v0.2.1) | ||
[Full Changelog](https://github.com/emberjs/ember-qunit/compare/latest...v0.2.1) | ||
@@ -432,8 +439,8 @@ **Closed issues:** | ||
## [latest](https://github.com/emberjs/ember-qunit/tree/latest) (2015-01-31) | ||
[Full Changelog](https://github.com/emberjs/ember-qunit/compare/v0.2.0...latest) | ||
## [v0.2.0](https://github.com/emberjs/ember-qunit/tree/v0.2.0) (2015-01-31) | ||
[Full Changelog](https://github.com/emberjs/ember-qunit/compare/latest...v0.2.0) | ||
[Full Changelog](https://github.com/emberjs/ember-qunit/compare/v0.1.8...v0.2.0) | ||
## [latest](https://github.com/emberjs/ember-qunit/tree/latest) (2015-01-31) | ||
[Full Changelog](https://github.com/emberjs/ember-qunit/compare/v0.1.8...latest) | ||
**Closed issues:** | ||
@@ -440,0 +447,0 @@ |
@@ -46,12 +46,8 @@ import Ember from 'ember'; | ||
var module; | ||
var module = new Constructor(name, description, callbacks); | ||
qunitModule(name, { | ||
qunitModule(module.name, { | ||
setup: function(assert) { | ||
var done = assert.async(); | ||
// storing this in closure scope to avoid exposing these | ||
// private internals to the test context | ||
module = new Constructor(name, description, callbacks); | ||
// provide the test context to the underlying module | ||
@@ -75,10 +71,5 @@ module.setContext(this); | ||
var done = assert.async(); | ||
return Ember.RSVP.resolve(result) | ||
.then(() => module.teardown()) | ||
.finally(() => { | ||
module = null; | ||
done(); | ||
}); | ||
return Ember.RSVP.resolve(result).then(() => module.teardown()['finally'](done)); | ||
} | ||
}); | ||
} |
{ | ||
"name": "ember-qunit", | ||
"version": "0.4.23", | ||
"version": "0.4.24", | ||
"description": "QUnit helpers for testing Ember.js applications", | ||
@@ -5,0 +5,0 @@ "main": "lib/ember-qunit.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51007
146