summaryrefslogtreecommitdiff
path: root/controller/zt1-controller-client/test-controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'controller/zt1-controller-client/test-controller.js')
-rw-r--r--controller/zt1-controller-client/test-controller.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/controller/zt1-controller-client/test-controller.js b/controller/zt1-controller-client/test-controller.js
new file mode 100644
index 00000000..d76bad8f
--- /dev/null
+++ b/controller/zt1-controller-client/test-controller.js
@@ -0,0 +1,7 @@
+var ZT1ControllerClient = require('./index.js').ZT1ControllerClient;
+
+var zt1c = new ZT1ControllerClient('http://127.0.0.1:9993/','5d6181b71fae2684f9cc64ed');
+
+zt1c.status(function(err,status) {
+ console.log(status);
+}); \ No newline at end of file