aboutsummaryrefslogtreecommitdiff
path: root/node_modules/coa/tests/api-h.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/coa/tests/api-h.js')
-rw-r--r--node_modules/coa/tests/api-h.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/coa/tests/api-h.js b/node_modules/coa/tests/api-h.js
new file mode 100644
index 00000000..c343fa06
--- /dev/null
+++ b/node_modules/coa/tests/api-h.js
@@ -0,0 +1,9 @@
+require('..').Cmd()
+ .name('bla')
+ .title('Bla bla bla')
+ .helpful()
+ .invoke({ help: true })
+ .then(function(res) {
+ console.log(res);
+ })
+ .done(); // Q.done()