diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2021-03-23 01:10:01 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2021-03-23 01:10:01 +0300 |
commit | b7b4491bf1d9df70149f48bca6557e55acf5cee6 (patch) | |
tree | 523f8a071e6bce701624d55053494fa0f151a687 /test | |
parent | 15ee1aec3675bc026fc360f81b04bae4db84d942 (diff) |
fix: which config
The default value for the `which` config option used in the `npm fund`
command is now `null` instead of the previously used `undefined`.
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/fund.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/fund.js b/test/lib/fund.js index bd600dbf7..8c1000784 100644 --- a/test/lib/fund.js +++ b/test/lib/fund.js @@ -186,7 +186,7 @@ const config = { json: false, global: false, unicode: false, - which: undefined, + which: null, } const openUrl = async (npm, url, msg) => { if (url === 'http://npmjs.org') @@ -563,7 +563,7 @@ test('fund using nested packages with multiple sources, with a source number', t t.ifError(err, 'should not error out') t.matchSnapshot(printUrl, 'should open the numbered URL') - config.which = undefined + config.which = null printUrl = '' t.end() }) @@ -663,7 +663,7 @@ test('fund using bad which value', t => { 'should have bad which option error message' ) - config.which = undefined + config.which = null result = '' t.end() }) |