update
This commit is contained in:
24
test/test.ts
24
test/test.ts
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user