diff options
author | nlf <quitlahok@gmail.com> | 2020-12-09 01:03:32 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-12-09 02:57:33 +0300 |
commit | 3db90d94474f673591811fdab5eb6a5bfdeba261 (patch) | |
tree | 73db575b3b56dac525b10c1abafec83c5956f481 /tap-snapshots | |
parent | 0ef25b6cd2921794d36f066e2b11c406342cf167 (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 'tap-snapshots')
-rw-r--r-- | tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js b/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js index 6890338a1..ae85195d7 100644 --- a/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js +++ b/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js @@ -95,7 +95,9 @@ Object { "description": "description", "exclude": "searchexclude", "limit": "searchlimit", - "opts": "searchopts", + "opts": Null Object { + "from": "1", + }, "staleness": "searchstaleness", }, "sendMetrics": "send-metrics", |