now using native git through shelljs since it proves to be much more stable

This commit is contained in:
2016-07-02 02:22:03 +02:00
parent 527d1b7aa5
commit c8c9d8a407
24 changed files with 56 additions and 132 deletions

View File

@@ -8,7 +8,7 @@ import smartgit = require("../dist/index");
describe("smartgit",function(){
describe(".clone",function(){
it("should clone a repository using ssh and sshkey",function(done){
this.timeout(10000);
this.timeout(20000);
smartgit.clone({
from:"git@gitlab.com:sandboxzone/sandbox-testrepo.git",
to:path.resolve("./test/temp/")
@@ -17,7 +17,7 @@ describe("smartgit",function(){
});
});
it("should clone a repository using https",function(done){
this.timeout(10000);
this.timeout(20000);
smartgit.clone({
from:"https://gitlab.com/sandboxzone/sandbox-testrepo.git",
to:path.resolve("./test/temp2/")