Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/need-npm5-update/need-only-update-save-optional/update-save.js (renamed from test/need-npm5-update/update-save.js)1
-rw-r--r--test/need-npm5-update/need-outdated/update-symlink.js (renamed from test/need-npm5-update/update-symlink.js)0
2 files changed, 1 insertions, 0 deletions
diff --git a/test/need-npm5-update/update-save.js b/test/need-npm5-update/need-only-update-save-optional/update-save.js
index f01fa0f54..57772167c 100644
--- a/test/need-npm5-update/update-save.js
+++ b/test/need-npm5-update/need-only-update-save-optional/update-save.js
@@ -111,6 +111,7 @@ test('update devDependencies only', function (t) {
test('update optionalDependencies only', function (t) {
setup({ optionalDependencies: { underscore: '~1.3.1' } })
+ var pkgdata = JSON.parse(fs.readFileSync(path.join(pkg, 'package.json'), 'utf8'))
common.npm(['update', '--save-optional'], EXEC_OPTS, function (err, code) {
t.ifError(err)
diff --git a/test/need-npm5-update/update-symlink.js b/test/need-npm5-update/need-outdated/update-symlink.js
index 7de80b110..7de80b110 100644
--- a/test/need-npm5-update/update-symlink.js
+++ b/test/need-npm5-update/need-outdated/update-symlink.js