Skip to content

Commit

Permalink
fix: publish: test defaultTag caused early error
Browse files Browse the repository at this point in the history
PR-URL: #2445
Credit: @dr-js
Close: #2445
Reviewed-by: @ruyadorno
  • Loading branch information
dr-js authored and nlf committed Jan 28, 2021
1 parent 938a77d commit d2f8af2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/lib/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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: {
Expand Down

0 comments on commit d2f8af2

Please sign in to comment.