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.18.0 to 0.18.1

yarn.lock

11

blueprints/ember-cli-blueprint-test-helpers/index.js
var fs = require('fs-extra');
var path = require('path');
var EOL = require('os').EOL;

@@ -13,7 +14,13 @@ module.exports = {

return Promise.all([
this.insertIntoFile('./.npmignore', 'node-tests/'),
this.addPackagesToProject([{name: 'mocha', target: '^2.2.1'}]),
this.insertIntoFile('./.npmignore', '/node-tests' + EOL),
this.addMochaToPackage(),
]);
},
addMochaToPackage: function() {
var pkg = fs.readJsonSync(path.join(__dirname, '../../package.json'));
return this.addPackageToProject('mocha', pkg.devDependencies['mocha']);
},
insertTestCallToPackage: function() {

@@ -20,0 +27,0 @@ var insert = false;

3

node-tests/blueprints/ember-cli-blueprint-test-helpers-test.js

@@ -12,2 +12,3 @@ 'use strict';

var file = require('../../chai').file;
var EOL = require('os').EOL;

@@ -33,3 +34,3 @@ function getDevDependencies() {

.to.contain('install package mocha');
expect(file('.npmignore')).to.contain('node-tests/');
expect(file('.npmignore')).to.contain('/node-tests' + EOL);
});

@@ -36,0 +37,0 @@ });

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

@@ -33,9 +33,10 @@ "main": "index.js",

"lodash.merge": "^4.4.0",
"testdouble": "^3.2.6",
"tmp-sync": "^1.0.0"
},
"devDependencies": {
"ember-cli": "^2.3.0",
"ember-cli": "~2.16.0",
"eslint": "^4.1.0",
"eslint-plugin-chai-expect": "^1.0.0",
"mocha": "^3.0.0",
"mocha": "^3.5.3",
"mocha-eslint": "^4.0.0",

@@ -42,0 +43,0 @@ "mocha-only-detector": "^0.1.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