Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
b87ca1fa03 | |||
824f872fa5 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "smartnginx",
|
"name": "smartnginx",
|
||||||
"version": "2.0.4",
|
"version": "2.0.5",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartnginx",
|
"name": "@pushrocks/smartnginx",
|
||||||
"version": "2.0.4",
|
"version": "2.0.5",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "control nginx from node, TypeScript ready",
|
"description": "control nginx from node, TypeScript ready",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -30,8 +30,8 @@ tap.test(`should produce an instance of NginxConfig`, async () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
tap.test('.addZone() should add a zone to NginxConfig Object', async () => {
|
tap.test('.addZone() should add a zone to NginxConfig Object', async () => {
|
||||||
testSmartNginx.addHost(testNginxZone01);
|
testSmartNginx.addHost('test200.bleu.de', '192.192.192.191');
|
||||||
testSmartNginx.addHost(testNginxZone02);
|
testSmartNginx.addHost('test201.blue.de', '192.192.192.191');
|
||||||
});
|
});
|
||||||
|
|
||||||
tap.test('.deploy() should deploy a config from an instance', async () => {
|
tap.test('.deploy() should deploy a config from an instance', async () => {
|
||||||
|
Reference in New Issue
Block a user