This commit is contained in:
2017-05-28 20:03:40 +02:00
parent 939016347d
commit 2e20c5b3cc
26 changed files with 1457 additions and 128 deletions

View File

@@ -1,16 +1,12 @@
/// <reference path="../ts/typings/main.d.ts" />
let npmg = require("../dist/index.js");
let smartenv = require("smartenv");
let environment = smartenv.getEnv();
import { expect, tap } from 'tapbundle'
import * as npmgInstall from '../dist/npmg.install'
import * as smartenv from 'smartenv'
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");
};
});
})
});
let environment = new smartenv.Smartenv()
tap.test("should install default list globally when parsed 'default' as argument", async () => {
await npmgInstall.install('default')
})
tap.start()