tools/test/test.ts

17 lines
537 B
TypeScript
Raw Normal View History

2016-03-03 01:22:47 +00:00
/// <reference path="../ts/typings/main.d.ts" />
2016-03-03 01:04:14 +00:00
let npmg = require("../dist/index.js");
let smartenv = require("smartenv");
let environment = smartenv.getEnv();
2016-03-02 17:11:00 +00:00
2016-03-03 01:04:14 +00:00
describe("npmg",function(){
describe(".install()",function(){
it("should install default list globally when parsed 'default' as argument",function(){
if (environment.isC9 || environment.isCI){
this.timeout(60000);
npmg.install("default");
};
});
})
});