diff options
Diffstat (limited to 'test/tap/peer-deps-without-package-json.js')
-rw-r--r-- | test/tap/peer-deps-without-package-json.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tap/peer-deps-without-package-json.js b/test/tap/peer-deps-without-package-json.js index f60c99232..781686f62 100644 --- a/test/tap/peer-deps-without-package-json.js +++ b/test/tap/peer-deps-without-package-json.js @@ -31,7 +31,7 @@ var fileJS = function () { test('setup', function (t) { t.comment('test for https://github.com/npm/npm/issues/3049') cleanup() - mkdirp.sync(cache) + mkdirp.sync(cache) mkdirp.sync(nodeModules) fs.writeFileSync(path.join(pkg, 'file-js.js'), fileJS) process.chdir(pkg) @@ -53,7 +53,7 @@ test('installing a peerDeps-using package without package.json', function (t) { }, function () { npm.install(common.registry + '/ok.js', function (err, result) { t.ifError(err, 'installed ok.js') - + t.ok( fs.existsSync(path.join(nodeModules, 'npm-test-peer-deps-file')), 'passive peer dep installed' |