How to test GETUSERDATA in meteor using mocha framework?


#1

describe(“test”,function(){
it(“testing”,function(){
Meteor.call(“getUserPersonalData”,(error,result) => {
if(error){
console.log(error);
}
else {
console.log(result);
}
});
});
});

ERROR:user not found.

any help?

Thanks.