-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -549,7 +549,7 @@ t.test('uses all err special properties', async t => { | |
t.test('verbose logs replace info on err props', async t => { | ||
const { exitHandler, logs } = await mockExitHandler(t) | ||
|
||
const keys = ['type', 'stack', 'statusCode', 'pkgid'] | ||
const keys = ['type', 'stack', 'pkgid'] | ||
const properties = keys.reduce((acc, k) => { | ||
acc[k] = `${k}-https://user:[email protected]/` | ||
return acc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ t.equal( | |
|
||
t.equal( | ||
replaceInfo('https://user:[email protected]/ http://a:[email protected]'), | ||
'https://user:***@registry.npmjs.org/ http://a:***@reg.github.com', | ||
'https://user:***@registry.npmjs.org/ http://a:***@reg.github.com/', | ||
'should replace multiple items on a string' | ||
) | ||
|
||
|
@@ -81,7 +81,7 @@ t.same( | |
]), | ||
[ | ||
'Something https://user:***@registry.npmjs.org/ foo bar', | ||
'http://foo:***@registry.npmjs.org', | ||
'http://foo:***@registry.npmjs.org/', | ||
'http://example.npmjs.org', | ||
], | ||
'should replace items in an array' | ||
|
@@ -95,7 +95,7 @@ t.same( | |
]), | ||
[ | ||
'Something --x=https://user:***@registry.npmjs.org/ foo bar', | ||
'--url=http://foo:***@registry.npmjs.org', | ||
'--url=http://foo:***@registry.npmjs.org/', | ||
'--url=http://example.npmjs.org', | ||
], | ||
'should replace items in an array with equals' | ||
|