Added nightwatch starrynight scaffold folder

This commit is contained in:
Erik Ziegler committed 2016-01-26 17:57:50 +01:00
1 parent 2ea9eae0aa
commit d2ab42e11c
18 files changed
+246

No files matched your search

@@ -0,0 +1,22 @@
// async version calls method on the server
exports.command = function(methodName, timeout) {
/*var client = this;
if (!timeout) {
timeout = 5000;
}
this
.timeoutsAsyncScript(timeout)
.executeAsync(function(data, meteorCallback){
//return HipaaLogger.logEventObject(data);
Meteor.call(methodName, data, function(meteorError, meteorResult){
var response = (meteorError ? { error: meteorError } : { result: meteorResult });
meteorCallback(response);
})
}, [hipaaEvent], function(result){
console.log("result.value", result.value);
client.assert.ok(result.value);
}).pause(1000)
return this;*/
return this;
};