forked from ritthisakdi/npm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: remove the now redundent combined github+bitbucket test
This dates back to before npm@2 integrated the new npa and added new entirely separate tests for these. PR-URL: npm#8922
- Loading branch information
Showing
1 changed file
with
2 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,9 +26,7 @@ test('github-shortcut', function (t) { | |
var cloneUrls = [ | ||
['git://github.com/foo/private.git', 'GitHub shortcuts try git URLs first'], | ||
['https://github.com/foo/private.git', 'GitHub shortcuts try HTTPS URLs second'], | ||
['[email protected]:foo/private.git', 'GitHub shortcuts try SSH third'], | ||
['https://bitbucket.org/foo/private.git', 'bitbucket shortcuts try HTTPS URLs first'], | ||
['[email protected]:foo/private.git', 'bitbucket shortcuts try SSH second'] | ||
['[email protected]:foo/private.git', 'GitHub shortcuts try SSH third'] | ||
] | ||
var npm = requireInject.installGlobally('../../lib/npm.js', { | ||
'child_process': { | ||
|
@@ -57,9 +55,7 @@ test('github-shortcut', function (t) { | |
npm.load(opts, function (er) { | ||
t.ifError(er, 'npm loaded without error') | ||
npm.commands.install(['foo/private'], function (er, result) { | ||
npm.commands.install(['bitbucket:foo/private'], function (er, result) { | ||
t.end() | ||
}) | ||
t.end() | ||
}) | ||
}) | ||
}) | ||
|