improve Readme

This commit is contained in:
LosslessBot
2016-07-06 06:33:31 +02:00
parent 03edcd9e03
commit 48a1429332
18 changed files with 185 additions and 27 deletions

View File

@@ -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);
});
})
});