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-24 20:04:57 +0300
committerGar <gar+gh@danger.computer>2021-07-29 19:16:31 +0300
commit6a8086e258aa209b877e182db4b75f11de5b291d (patch)
treed24d982c63ba72e34acc32ff9b7ba99d9e6885d4 /package.json
parente7e1181702db2cf5d90b0c651ed5372b7ad13c74 (diff)
fix(tests): move more tests to use real npm
This moves a handful of the smaller tests to using the new npm mock that uses the real actual npm object. It also extends the testing surface area of a few tests back down into the actual `process.spawn` that results, instead of anything internal to the code. Some dead code in `lib/test.js` was found during this, as well as an instance of a module throwing a string instead of an error object. PR-URL: https://github.com/npm/cli/pull/3463 Credit: @wraithgar Close: #3463 Reviewed-by: @nlf
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index b728f9f88..ec0d9c1c6 100644
--- a/package.json
+++ b/package.json
@@ -199,6 +199,7 @@
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"licensee": "^8.2.0",
+ "spawk": "^1.7.1",
"tap": "^15.0.9"
},
"scripts": {