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

ember-test-helpers

Package Overview
Dependencies
Maintainers
4
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-test-helpers - npm Package Compare versions

Comparing version 0.5.32 to 0.5.33

CHANGELOG.md

3

lib/ember-test-helpers/test-module-for-component.js
import TestModule from './test-module';
import Ember from 'ember';
import { getResolver } from './test-resolver';
import hasEmberVersion from './has-ember-version';

@@ -87,3 +86,3 @@ import { preGlimmerSetupIntegrationForComponent } from './-legacy-overrides';

var _this = this;
var resolver = getResolver();
var resolver = this.resolver;
var context = this.context;

@@ -90,0 +89,0 @@

@@ -17,2 +17,7 @@ import Ember from 'ember';

export default AbstractTestModule.extend({
init() {
this._super(...arguments);
this.resolver = this.callbacks.resolver || getResolver();
},
initSetupSteps() {

@@ -70,3 +75,3 @@ this.setupSteps = [];

setupContainer() {
var resolver = getResolver();
var resolver = this.resolver;
var items = buildRegistry(resolver);

@@ -73,0 +78,0 @@

@@ -20,2 +20,3 @@ import Ember from 'ember';

this.callbacks = callbacks || {};
this.resolver = this.callbacks.resolver || getResolver();

@@ -238,3 +239,3 @@ if (this.callbacks.integration && this.callbacks.needs) {

_setupContainer: function(isolated) {
var resolver = getResolver();
var resolver = this.resolver;

@@ -259,3 +260,3 @@ var items = buildRegistry(!isolated ? resolver : Object.create(resolver, {

_setupIsolatedContainer: function() {
var resolver = getResolver();
var resolver = this.resolver;
this._setupContainer(true);

@@ -262,0 +263,0 @@

{
"name": "ember-test-helpers",
"version": "0.5.32",
"version": "0.5.33",
"description": "Helpers for testing Ember.js applications",

@@ -5,0 +5,0 @@ "main": "lib/ember-test-helpers.js",

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