This commit is contained in:
2016-03-31 01:59:45 +02:00
commit 82b565e97f
27 changed files with 423 additions and 0 deletions

28
test/test.ts Normal file
View File

@@ -0,0 +1,28 @@
/// <reference path="../ts/typings/main.d.ts" />
let smartgit = require("../dist/index.js");
let beautylog = require("beautylog");
let path = require("path");
let should = require("should");
describe("smartgit",function(){
describe(".clone",function(){
it("should clone a repository",function(done){
this.timeout(10000);
smartgit.clone({
from:"https://github.com/pushrocks/docs.git",
to:path.resolve("./test/temp/")
}).then(function(){
done();
});
});
});
describe(".check",function(){
});
describe("commit",function(){
});
describe("init",function(){
});
});