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:
authornlf <quitlahok@gmail.com>2020-12-09 01:03:32 +0300
committerisaacs <i@izs.me>2020-12-09 02:57:33 +0300
commit3db90d94474f673591811fdab5eb6a5bfdeba261 (patch)
tree73db575b3b56dac525b10c1abafec83c5956f481 /test/lib/utils
parent0ef25b6cd2921794d36f066e2b11c406342cf167 (diff)
allow for passing object keys to searchopts to allow paginationnlf/search-opts
PR-URL: https://github.com/npm/cli/pull/2303 Credit: @nlf Close: #2303 Reviewed-by: @isaacs
Diffstat (limited to 'test/lib/utils')
-rw-r--r--test/lib/utils/flat-options.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/utils/flat-options.js b/test/lib/utils/flat-options.js
index 82c00fc7e..3cbf06a48 100644
--- a/test/lib/utils/flat-options.js
+++ b/test/lib/utils/flat-options.js
@@ -65,7 +65,7 @@ class MockConfig {
description: 'description',
searchexclude: 'searchexclude',
searchlimit: 'searchlimit',
- searchopts: 'searchopts',
+ searchopts: 'from=1',
searchstaleness: 'searchstaleness',
'dry-run': 'dry-run',
'engine-strict': 'engine-strict',