ember-mocha
Advanced tools
Comparing version 0.11.0 to 0.11.1
# Change Log | ||
## [v0.11.1](https://github.com/emberjs/ember-mocha/tree/v0.11.1) (2017-05-07) | ||
[Full Changelog](https://github.com/emberjs/ember-mocha/compare/v0.11.0...v0.11.1) | ||
**Implemented enhancements:** | ||
- README: Add instructions for a world with async/await [\#124](https://github.com/emberjs/ember-mocha/pull/124) ([Turbo87](https://github.com/Turbo87)) | ||
- Improved async behavior deprecation message [\#123](https://github.com/emberjs/ember-mocha/pull/123) ([Turbo87](https://github.com/Turbo87)) | ||
- Fix and promote setupAcceptanceTest\(\) and deprecate implicit async behavior [\#121](https://github.com/emberjs/ember-mocha/pull/121) ([Turbo87](https://github.com/Turbo87)) | ||
**Fixed bugs:** | ||
- Update "ember-test-helpers" to v0.6.3 [\#150](https://github.com/emberjs/ember-mocha/pull/150) ([Turbo87](https://github.com/Turbo87)) | ||
- Reset "module" to null to prevent memory leaks [\#144](https://github.com/emberjs/ember-mocha/pull/144) ([Turbo87](https://github.com/Turbo87)) | ||
**Closed issues:** | ||
- Is it possible to use this package without bower? [\#142](https://github.com/emberjs/ember-mocha/issues/142) | ||
- Asserting error thrown no longer works as of 2.11.3 [\#141](https://github.com/emberjs/ember-mocha/issues/141) | ||
- `TypeError: factory.create is not a function` when trying to create a unit test for a helper [\#140](https://github.com/emberjs/ember-mocha/issues/140) | ||
- `TypeError: Cannot read property 'create' of undefined` [\#138](https://github.com/emberjs/ember-mocha/issues/138) | ||
- component unit test with needs: \[\] still throws ember-test-helper deprecation [\#129](https://github.com/emberjs/ember-mocha/issues/129) | ||
- auto-resolved promises fire after the test ends [\#126](https://github.com/emberjs/ember-mocha/issues/126) | ||
**Merged pull requests:** | ||
- Convert "loader.js" from bower to npm dependency [\#147](https://github.com/emberjs/ember-mocha/pull/147) ([Turbo87](https://github.com/Turbo87)) | ||
- Update and pin "loader.js" to v4.1.0 [\#146](https://github.com/emberjs/ember-mocha/pull/146) ([Turbo87](https://github.com/Turbo87)) | ||
- Add ".editorconfig" file [\#137](https://github.com/emberjs/ember-mocha/pull/137) ([Turbo87](https://github.com/Turbo87)) | ||
- Ensure ember-test-helpers ^0.6.0 [\#128](https://github.com/emberjs/ember-mocha/pull/128) ([blimmer](https://github.com/blimmer)) | ||
- CI: Switch NPM deploy user to "ember-cli" [\#125](https://github.com/emberjs/ember-mocha/pull/125) ([Turbo87](https://github.com/Turbo87)) | ||
- Use Rollup to bundle files [\#117](https://github.com/emberjs/ember-mocha/pull/117) ([Turbo87](https://github.com/Turbo87)) | ||
## [v0.11.0](https://github.com/emberjs/ember-mocha/tree/v0.11.0) (2016-12-09) | ||
[Full Changelog](https://github.com/emberjs/ember-mocha/compare/v0.10.0...v0.11.0) | ||
**Implemented enhancements:** | ||
- Update "Mocha" for Bower builds [\#78](https://github.com/emberjs/ember-mocha/issues/78) | ||
- Adjust testem config and add acceptance test [\#119](https://github.com/emberjs/ember-mocha/pull/119) ([Turbo87](https://github.com/Turbo87)) | ||
- TravisCI: Update Node.js to 6.x [\#118](https://github.com/emberjs/ember-mocha/pull/118) ([Turbo87](https://github.com/Turbo87)) | ||
- Update "mocha" and "chai" bower dependencies [\#122](https://github.com/emberjs/ember-mocha/pull/122) ([Turbo87](https://github.com/Turbo87)) | ||
- Import "ember-mocha-adapter" [\#120](https://github.com/emberjs/ember-mocha/pull/120) ([Turbo87](https://github.com/Turbo87)) | ||
## [v0.10.0](https://github.com/emberjs/ember-mocha/tree/v0.10.0) (2016-11-29) | ||
[Full Changelog](https://github.com/emberjs/ember-mocha/compare/v0.9.4...v0.10.0) | ||
**Closed issues:** | ||
- Release v0.10.0 [\#113](https://github.com/emberjs/ember-mocha/issues/113) | ||
**Merged pull requests:** | ||
@@ -21,5 +68,5 @@ | ||
- Fix broken context cleanup [\#111](https://github.com/emberjs/ember-mocha/pull/111) ([Turbo87](https://github.com/Turbo87)) | ||
- Context is not being reset between test runs [\#110](https://github.com/emberjs/ember-mocha/issues/110) | ||
- Export new test setup functions as globals [\#102](https://github.com/emberjs/ember-mocha/pull/102) ([Turbo87](https://github.com/Turbo87)) | ||
- Fix broken context cleanup [\#111](https://github.com/emberjs/ember-mocha/pull/111) ([Turbo87](https://github.com/Turbo87)) | ||
@@ -331,2 +378,2 @@ ## [v0.9.3](https://github.com/emberjs/ember-mocha/tree/v0.9.3) (2016-11-23) | ||
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* | ||
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* |
import Ember from 'ember'; | ||
import { beforeEach, afterEach, describe } from 'mocha'; | ||
import { beforeEach, afterEach, after, describe } from 'mocha'; | ||
import { getContext } from 'ember-test-helpers'; | ||
@@ -44,2 +44,6 @@ | ||
after(function() { | ||
module = null; | ||
}); | ||
tests = tests || function() {}; | ||
@@ -46,0 +50,0 @@ tests.call(this); |
@@ -1,2 +0,2 @@ | ||
import { before, beforeEach, afterEach } from 'mocha'; | ||
import { before, beforeEach, afterEach, after } from 'mocha'; | ||
import { getContext } from 'ember-test-helpers'; | ||
@@ -24,3 +24,7 @@ | ||
}); | ||
after(function() { | ||
module = null; | ||
}); | ||
}; | ||
} |
{ | ||
"name": "ember-mocha", | ||
"version": "0.11.0", | ||
"version": "0.11.1", | ||
"description": "Mocha helpers for testing Ember.js applications", | ||
@@ -29,3 +29,3 @@ "homepage": "https://github.com/emberjs/ember-mocha", | ||
"dependencies": { | ||
"ember-test-helpers": "^0.6.0-beta.1" | ||
"ember-test-helpers": "^0.6.3" | ||
}, | ||
@@ -43,4 +43,5 @@ "devDependencies": { | ||
"git-repo-version": "^0.4.0", | ||
"loader.js": "^4.2.3", | ||
"resolve": "^1.1.7" | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
65045
392
12
1
Updatedember-test-helpers@^0.6.3