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:
authorRebecca Turner <me@re-becca.org>2017-05-10 04:18:43 +0300
committerRebecca Turner <me@re-becca.org>2017-05-26 04:55:09 +0300
commit89e98b02b5afbd7d37f2a9cb1ce6ad727c9b1bb2 (patch)
treea1cdd21ee0d6a6e9a7408c6abdc267e63c92dbd9 /test
parent1915c41696aed556abfe8869e3147ddd8c6bd0ec (diff)
tests: Categorize failing-for-npm5 tests
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