File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -91,15 +91,9 @@ describe("Remote", function() {
9191 it ( "can download from a remote" , function ( ) {
9292 var repo = this . repository ;
9393
94- return Remote . load ( repo , "origin" )
95- . then ( function ( remote ) {
94+ return Remote . load ( repo , "origin" ) . then ( function ( remote ) {
9695 remote . connect ( NodeGit . Enums . DIRECTION . FETCH ) ;
9796 return remote . download ( ) ;
98- } )
99- . then ( function ( ) {
100- assert ( true ) ;
101- } , function ( ) {
102- assert ( false ) ;
10397 } ) ;
10498 } ) ;
10599
@@ -114,7 +108,7 @@ describe("Remote", function() {
114108 it ( "can fetch from all remotes" , function ( ) {
115109 // Set a reasonable timeout here for the fetchAll test
116110 this . timeout ( 15000 ) ;
117-
111+
118112 return this . repository . fetchAll ( {
119113 credentials : function ( url , userName ) {
120114 return NodeGit . Cred . sshKeyFromAgent ( userName ) ;
You can’t perform that action at this time.
0 commit comments