How to test function which fetch file from remote server with Buster ? I wrote test like
buster.testCase("Remote fetch file", {
"test it": function () {
assert(true);
},
"remote fetch file" : function (){
remoteFileFetchingFunction(credentials, 'whoami', function (err, result) {
assert.equals(result, 'John');
});
}
});
But always get error like Failure: No assertions!