smartnginx/test/test.ts

16 lines
506 B
TypeScript
Raw Normal View History

2016-07-06 01:14:44 +00:00
import "typings-test";
import "should";
2016-07-06 04:33:31 +00:00
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);
});
})
});