I found it a little complicated, and more complicated if I wrote my meteor methods in lib folder, that I want is to test from server test folder my methods (unit test), but stub this.userId and also debugging or showing logs in server side does not help too much, I was having too much problems with it, I'm using mochajs with velocity, does anyone would help me please? is someone know how can I write the units to meteor methods?
Aucun commentaire:
Enregistrer un commentaire