summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/install-actions.js
diff options
context:
space:
mode:
authorKat Marchán <kzm@zkat.tech>2019-04-05 15:17:30 -0400
committerMyles Borins <mylesborins@google.com>2019-04-06 20:56:17 -0400
commit033f6b566ebe9689ab1e6e3bbec5f649e6d14896 (patch)
treee1e849ac11da1dec4b910c3dfa38b4585b364d90 /deps/npm/test/tap/install-actions.js
parent58aaf58406ab52599d51d4e91249776b260487cc (diff)
downloadandroid-node-v8-033f6b566ebe9689ab1e6e3bbec5f649e6d14896.tar.gz
android-node-v8-033f6b566ebe9689ab1e6e3bbec5f649e6d14896.tar.bz2
android-node-v8-033f6b566ebe9689ab1e6e3bbec5f649e6d14896.zip
deps: upgrade npm to 6.9.0
Co-authored-by: Myles Borins <mylesborins@google.com> PR-URL: https://github.com/nodejs/node/pull/26244 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'deps/npm/test/tap/install-actions.js')
-rw-r--r--deps/npm/test/tap/install-actions.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/deps/npm/test/tap/install-actions.js b/deps/npm/test/tap/install-actions.js
index 6ca6e33534..b34be3ad0d 100644
--- a/deps/npm/test/tap/install-actions.js
+++ b/deps/npm/test/tap/install-actions.js
@@ -91,6 +91,7 @@ test('->dep:b,->optdep:a->dep:b', function (t) {
moduleA.requires = [moduleB]
var tree = {
+ name: 'tree',
path: '/',
package: {
dependencies: {
@@ -109,13 +110,8 @@ test('->dep:b,->optdep:a->dep:b', function (t) {
moduleA.parent = tree
moduleB.parent = tree
- t.plan(3)
return actions.postinstall('/', moduleA, mockLog).then(() => {
- throw new Error('was not supposed to succeed')
- }, (err) => {
- t.ok(err && err.code === 'ELIFECYCLE', 'Lifecycle failed')
t.ok(moduleA.failed, 'moduleA (optional dep) is marked failed')
t.ok(!moduleB.failed, 'moduleB (direct dep of moduleA) is marked as failed')
- t.end()
})
})