Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-qunit

Package Overview
Dependencies
Maintainers
3
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-qunit - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

80

addon-test-support/ember-qunit/index.js

@@ -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 @@

2

package.json
{
"name": "ember-qunit",
"version": "3.2.1",
"version": "3.2.2",
"description": "QUnit helpers for testing Ember.js applications",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc