diff options
author | dr-js <dr@dr.run> | 2021-01-08 04:54:14 +0300 |
---|---|---|
committer | nlf <quitlahok@gmail.com> | 2021-01-28 23:30:42 +0300 |
commit | d2f8af2da64d510d3d363aec10531bebf840d84e (patch) | |
tree | 3b38c88d4b4008626aa3cb22c9931ea007ffa360 /test/lib/publish.js | |
parent | 938a77d6e7fb79f8ceb72c51bf06e27127fb9f06 (diff) |
fix: publish: test defaultTag caused early error
PR-URL: https://github.com/npm/cli/pull/2445
Credit: @dr-js
Close: #2445
Reviewed-by: @ruyadorno
Diffstat (limited to 'test/lib/publish.js')
-rw-r--r-- | test/lib/publish.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/lib/publish.js b/test/lib/publish.js index 675824848..f0ce0b966 100644 --- a/test/lib/publish.js +++ b/test/lib/publish.js @@ -329,7 +329,6 @@ t.test('throw if no registry', async t => { '../../lib/npm.js': { flatOptions: { json: false, - defaultTag: '0.0.13', registry: null, }, config, @@ -350,7 +349,6 @@ t.test('throw if not logged in', async t => { '../../lib/npm.js': { flatOptions: { json: false, - defaultTag: '0.0.13', registry: 'https://registry.npmjs.org/', }, config: { |