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:
authordr-js <dr@dr.run>2021-01-08 04:54:14 +0300
committernlf <quitlahok@gmail.com>2021-01-28 23:30:42 +0300
commitd2f8af2da64d510d3d363aec10531bebf840d84e (patch)
tree3b38c88d4b4008626aa3cb22c9931ea007ffa360 /test/lib/publish.js
parent938a77d6e7fb79f8ceb72c51bf06e27127fb9f06 (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.js2
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: {