tools/test/test.ts
2016-03-03 02:22:47 +01:00

17 lines
537 B
TypeScript

/// <reference path="../ts/typings/main.d.ts" />
let npmg = require("../dist/index.js");
let smartenv = require("smartenv");
let environment = smartenv.getEnv();
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");
};
});
})
});