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

ember-cli-blueprint-test-helpers

Package Overview
Dependencies
Maintainers
6
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-blueprint-test-helpers - npm Package Compare versions

Comparing version 0.16.0 to 0.17.0

11

lib/helpers/setup.js

@@ -20,12 +20,13 @@ 'use strict';

@param {String} [options.cliPath='ember-cli'] path to the `ember-cli` dependency
@param {Boolean} [options.disabledTasks=['bower-install', 'npm-install']] override the mocked installs
@param {Boolean} [options.disabledTasks=['addon-install', 'bower-install', 'npm-install']] override the mocked installs
*/
module.exports = function setupTestHooks(scope, options) {
var timeout = options && options.timeout || 20000;
var tmp = options && options.tmpenv || scope.tmpenv || tmpenv;
var disabledTasks = options && options.disabledTasks || ['bower-install', 'npm-install'];
options = options || {};
var timeout = options.timeout || 20000;
var tmp = options.tmpenv || scope.tmpenv || tmpenv;
var disabledTasks = options.disabledTasks || ['addon-install', 'bower-install', 'npm-install'];
scope.timeout(timeout);
if (options && options.cliPath) {
if (options.cliPath) {
requireFromCLI.setBasePath(options.cliPath);

@@ -32,0 +33,0 @@ }

@@ -19,3 +19,3 @@ 'use strict';

describe('Acceptance: ember generate ember-cli-blueprint-test-helpers', function() {
describe('without mocking', function() {
describe('with mocking', function() {
setupTestHooks(this);

@@ -57,3 +57,3 @@

describe('with mocking', function() {
describe('without mocking', function() {
setupTestHooks(this, {

@@ -60,0 +60,0 @@ disabledTasks: [],

{
"name": "ember-cli-blueprint-test-helpers",
"version": "0.16.0",
"version": "0.17.0",
"description": "Blueprint test helpers for ember-cli. Mocks ember-cli for generate and destroy commands.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -140,3 +140,3 @@

- `{String} [options.cliPath='ember-cli']` path to the `ember-cli` dependency
- `{Boolean} [options.disabledTasks=['bower-install', 'npm-install']]` override the mocked installs
- `{Boolean} [options.disabledTasks=['addon-install', 'bower-install', 'npm-install']]` override the mocked installs
Defaults to [`lib/helpers/tmp-env.js`](lib/helpers/tmp-env.js)

@@ -143,0 +143,0 @@

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