started with tests
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import "typings-test";
|
||||
import "should";
|
||||
import path = require("path");
|
||||
import * as beautylog from "beautylog"
|
||||
//set up environment
|
||||
process.env.CI_BUILD_REPO = "https://yyyyyy:xxxxxxxx@gitlab.com/mygroup/myrepo.git";
|
||||
process.cwd = () => {
|
||||
@@ -34,6 +35,7 @@ describe("NPMCI",function(){
|
||||
it("should sort an array of Dockerfiles",function(done){
|
||||
NpmciBuildDocker.sortDockerfiles(sortableArray)
|
||||
.then(function(sortedArrayArg:NpmciBuildDocker.Dockerfile[]){
|
||||
beautylog.success("final result");
|
||||
console.log(sortedArrayArg);
|
||||
done();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user