ember-cli-blueprint-test-helpers
Advanced tools
Comparing version 0.18.0 to 0.18.1
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; |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
199948
32
510
11
+ Addedtestdouble@^3.2.6
+ Addedfunction-bind@1.1.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedis-plain-obj@1.1.0(transitive)
+ Addedis-regexp@1.0.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedquibble@0.9.2(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedstringify-object-es5@2.5.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtestdouble@3.20.2(transitive)
+ Addedtheredoc@1.0.0(transitive)