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

ember-qunit

Package Overview
Dependencies
Maintainers
1
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 0.1.7 to 0.1.8

.jshintrc

12

dist/cjs/module-for-component.js

@@ -10,11 +10,11 @@ "use strict";

moduleFor('component:' + name, description, callbacks, function(container, context, defaultSubject) {
var templateName = 'template:components/' + name;
var layoutName = 'template:components/' + name;
var template = resolver.resolve(templateName);
var layout = resolver.resolve(layoutName);
if (template) {
container.register(templateName, template);
container.injection('component:' + name, 'template', templateName);
if (layout) {
container.register(layoutName, layout);
container.injection('component:' + name, 'layout', layoutName);
}
context.dispatcher = Ember.EventDispatcher.create();

@@ -21,0 +21,0 @@ context.dispatcher.setup({}, '#ember-testing');

@@ -7,6 +7,13 @@ "use strict";

moduleFor('model:' + name, description, callbacks, function(container, context, defaultSubject) {
// custom model specific awesomeness
container.register('store:main', DS.Store);
container.register('adapter:application', DS.FixtureAdapter);
if (DS._setupContainer) {
DS._setupContainer(container);
} else {
container.register('store:main', DS.Store);
}
var adapterFactory = container.lookupFactory('adapter:application');
if (!adapterFactory) {
container.register('adapter:application', DS.FixtureAdapter);
}
context.__setup_properties__.store = function(){

@@ -13,0 +20,0 @@ return container.lookup('store:main');

{
"name": "ember-qunit",
"version": "0.1.7",
"version": "0.1.8",
"description": "unit test helpers for ember",

@@ -5,0 +5,0 @@ "main": "dist/cjs/main.js",

@@ -137,2 +137,3 @@ Ember QUnit

$ bower install
$ npm install -g karma-cli broccoli-cli
$ broccoli serve

@@ -139,0 +140,0 @@ # new tab

Sorry, the diff of this file is not supported yet

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