smartnginx/test/test.ts
2016-07-06 06:33:31 +02:00

16 lines
506 B
TypeScript

import "typings-test";
import "should";
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);
});
})
});