now installing things correctly

This commit is contained in:
2016-03-03 01:04:14 +00:00
parent 9aa9d5b9b9
commit 75399f7ed7
6 changed files with 48 additions and 9 deletions

View File

@@ -1,2 +1,16 @@
let nodeg = require("../dist/index.js");
/// <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");
};
});
})
});