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
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-06-22 00:41:31 +0300
committerGar <gar+gh@danger.computer>2021-06-23 19:34:58 +0300
commitd0f50b156725e5b414050d9e9a59d5fad8a39a3d (patch)
tree4ddbafd360b2f1532c7425169c9c067d5c21f92e /test/lib/utils/exit-handler.js
parent54eae3063eeb197225ee930525a1316e34ecf34c (diff)
chore(refactor): async npm.load
Tests for cli now use the real npm PR-URL: https://github.com/npm/cli/pull/3451 Credit: @wraithgar Close: #3451 Reviewed-by: @nlf
Diffstat (limited to 'test/lib/utils/exit-handler.js')
-rw-r--r--test/lib/utils/exit-handler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/utils/exit-handler.js b/test/lib/utils/exit-handler.js
index beb1ef8c5..72f94bfde 100644
--- a/test/lib/utils/exit-handler.js
+++ b/test/lib/utils/exit-handler.js
@@ -355,7 +355,7 @@ t.test('it worked', (t) => {
const _exit = process.exit
process.exit = (code) => {
process.exit = _exit
- t.false(code, 'should exit with no code')
+ t.notOk(code, 'should exit with no code')
const _info = npmlog.info
npmlog.info = (msg) => {