update deps and exclude any config from git
This commit is contained in:
@@ -6,8 +6,6 @@ import * as smartnginx from "../dist/index";
|
||||
|
||||
// setup environment
|
||||
let testQenv = new Qenv(process.cwd(),path.join(process.cwd(),".nogit"));
|
||||
console.log(process.env.CF_EMAIL);
|
||||
console.log(process.env.CF_KEY);
|
||||
describe("smartnginx",function(){
|
||||
let testNginxConfig:smartnginx.NginxConfig;
|
||||
let testNginxZone01:smartnginx.NginxZone;
|
||||
@@ -17,6 +15,11 @@ describe("smartnginx",function(){
|
||||
testNginxZone01 = new smartnginx.NginxZone({
|
||||
zoneName:"test100.bleu.de",
|
||||
type:smartnginx.zoneTypes.reverseProxy,
|
||||
destination:"192.192.192.191"
|
||||
});
|
||||
testNginxZone02 = new smartnginx.NginxZone({
|
||||
zoneName:"test102.bleu.de",
|
||||
type:smartnginx.zoneTypes.reverseProxy,
|
||||
destination:"192.192.192.192"
|
||||
});
|
||||
testNginxZone01.should.be.instanceof(smartnginx.NginxZone);
|
||||
@@ -35,6 +38,7 @@ describe("smartnginx",function(){
|
||||
describe(".addZone()",function(){
|
||||
it("should add a zone to NginxConfig Object",function(){
|
||||
testNginxConfig.addZone(testNginxZone01);
|
||||
testNginxConfig.addZone(testNginxZone02);
|
||||
})
|
||||
});
|
||||
describe(".deploy()",function(){
|
||||
|
||||
Reference in New Issue
Block a user