improve Readme
This commit is contained in:
14
test/test.ts
14
test/test.ts
@@ -1,3 +1,15 @@
|
||||
import "typings-test";
|
||||
import "should";
|
||||
import smartnginx from "../dist/index"
|
||||
import * as smartnginx from "../dist/index";
|
||||
|
||||
describe("smartnginx",function(){
|
||||
let testNginxConfig:smartnginx.NginxConfig;
|
||||
let testNginxZone01:smartnginx.NginxZone;
|
||||
describe("NginxConfig",function(){
|
||||
it(`"new NginxConfig()" should produce an instance of NginxConfig`,function(){
|
||||
testNginxConfig = new smartnginx.NginxConfig();
|
||||
testNginxConfig.should.be.instanceof(smartnginx.NginxConfig);
|
||||
});
|
||||
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user