diff options
author | isaacs <i@izs.me> | 2021-04-24 01:29:10 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2021-04-24 01:39:53 +0300 |
commit | 72a7eeb493e0e71cba3af36490cb245030ed31a3 (patch) | |
tree | 1b35c937975cc68ba8c558074fdfbdb83d71ab94 /test | |
parent | c74e67fc6572bb001d74c7486c05d211a0e03de8 (diff) |
Remove --always-auth config definition
As of the recent updates to npm-registry-fetch and @npmcli/config,
this config field is no longer used anywhere.
Prior to those changes, it was used, but not in the manner documented.
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/utils/config/definitions.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lib/utils/config/definitions.js b/test/lib/utils/config/definitions.js index dce69b7f6..f73522365 100644 --- a/test/lib/utils/config/definitions.js +++ b/test/lib/utils/config/definitions.js @@ -29,9 +29,9 @@ t.equal(definitions['node-version'].default, process.version, 'node-version defa t.test('basic flattening function camelCases from css-case', t => { const flat = {} - const obj = { 'always-auth': true } - definitions['always-auth'].flatten('always-auth', obj, flat) - t.strictSame(flat, { alwaysAuth: true }) + const obj = { 'prefer-online': true } + definitions['prefer-online'].flatten('prefer-online', obj, flat) + t.strictSame(flat, { preferOnline: true }) t.end() }) |