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:
authorisaacs <i@izs.me>2019-08-31 09:18:33 +0300
committerisaacs <i@izs.me>2019-08-31 09:18:33 +0300
commit5d3aaf093bc9af344bc558e0028d132cd7fd45cd (patch)
tree05213488f28804107259c55e56938d155e331cda /test
parentfc5fc76182c0746433c84a7208877fb70ef62352 (diff)
test: fix outdated-depth test
Diffstat (limited to 'test')
-rw-r--r--test/tap/outdated-depth.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tap/outdated-depth.js b/test/tap/outdated-depth.js
index c3d87c64c..8e272e600 100644
--- a/test/tap/outdated-depth.js
+++ b/test/tap/outdated-depth.js
@@ -68,6 +68,8 @@ test('outdated depth zero', function (t) {
if (err) {
throw err
}
+ t.is(process.exitCode, 1, 'exit code set to 1')
+ process.exitCode = 0
s.close()
t.end()
})