ember-qunit
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -5,6 +5,6 @@ export { default as moduleFor } from './legacy-2-x/module-for'; | ||
export { default as QUnitAdapter } from './adapter'; | ||
export { setResolver } from '@ember/test-helpers'; | ||
export { module, test, skip, only, todo } from 'qunit'; | ||
export { loadTests } from './test-loader'; | ||
import { deprecate } from '@ember/debug'; | ||
import { loadTests } from './test-loader'; | ||
@@ -15,2 +15,8 @@ import Ember from 'ember'; | ||
import { | ||
setResolver as upstreamSetResolver, | ||
render as upstreamRender, | ||
clearRender as upstreamClearRender, | ||
settled as upstreamSettled, | ||
pauseTest as upstreamPauseTest, | ||
resumeTest as upstreamResumeTest, | ||
setupContext, | ||
@@ -24,2 +30,74 @@ teardownContext, | ||
export function setResolver() { | ||
deprecate( | ||
'`setResolver` should be imported from `@ember/test-helpers`, but was imported from `ember-qunit`', | ||
{ | ||
id: 'ember-qunit.deprecated-reexports.setResolver', | ||
until: '4.0.0', | ||
} | ||
); | ||
return upstreamSetResolver(...arguments); | ||
} | ||
export function render() { | ||
deprecate( | ||
'`render` should be imported from `@ember/test-helpers`, but was imported from `ember-qunit`', | ||
{ | ||
id: 'ember-qunit.deprecated-reexports.render', | ||
until: '4.0.0', | ||
} | ||
); | ||
return upstreamRender(...arguments); | ||
} | ||
export function clearRender() { | ||
deprecate( | ||
'`clearRender` should be imported from `@ember/test-helpers`, but was imported from `ember-qunit`', | ||
{ | ||
id: 'ember-qunit.deprecated-reexports.clearRender', | ||
until: '4.0.0', | ||
} | ||
); | ||
return upstreamClearRender(...arguments); | ||
} | ||
export function settled() { | ||
deprecate( | ||
'`settled` should be imported from `@ember/test-helpers`, but was imported from `ember-qunit`', | ||
{ | ||
id: 'ember-qunit.deprecated-reexports.settled', | ||
until: '4.0.0', | ||
} | ||
); | ||
return upstreamSettled(...arguments); | ||
} | ||
export function pauseTest() { | ||
deprecate( | ||
'`pauseTest` should be imported from `@ember/test-helpers`, but was imported from `ember-qunit`', | ||
{ | ||
id: 'ember-qunit.deprecated-reexports.pauseTest', | ||
until: '4.0.0', | ||
} | ||
); | ||
return upstreamPauseTest(...arguments); | ||
} | ||
export function resumeTest() { | ||
deprecate( | ||
'`resumeTest` should be imported from `@ember/test-helpers`, but was imported from `ember-qunit`', | ||
{ | ||
id: 'ember-qunit.deprecated-reexports.resumeTest', | ||
until: '4.0.0', | ||
} | ||
); | ||
return upstreamResumeTest(...arguments); | ||
} | ||
export function setupTest(hooks, options) { | ||
@@ -26,0 +104,0 @@ hooks.beforeEach(function(assert) { |
# Change Log | ||
## v3.2.2 (2017-12-18) | ||
#### :bug: Bug Fix | ||
* [#305](https://github.com/emberjs/ember-qunit/pull/305) Bring back re-exports (with a deprecation).. ([@rwjblue](https://github.com/rwjblue)) | ||
#### Committers: 1 | ||
- Robert Jackson ([rwjblue](https://github.com/rwjblue)) | ||
## v3.2.1 (2017-12-17) | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "ember-qunit", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"description": "QUnit helpers for testing Ember.js applications", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
288750
494