From d2f8af2da64d510d3d363aec10531bebf840d84e Mon Sep 17 00:00:00 2001 From: dr-js Date: Fri, 8 Jan 2021 09:54:14 +0800 Subject: [PATCH] fix: publish: test defaultTag caused early error PR-URL: https://github.com/npm/cli/pull/2445 Credit: @dr-js Close: #2445 Reviewed-by: @ruyadorno --- test/lib/publish.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/lib/publish.js b/test/lib/publish.js index 675824848e20b..f0ce0b966533c 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: {