Jabbslad / basic-auth

Add HTTP Basic Auth support to your Meteor application
31 stars 6 forks source link

Use Jasmine integration tests #12

Open louis49 opened 9 years ago

louis49 commented 9 years ago

Hello

How do run specs with this module?

what i do doesn't work (infinite wait):

if(typeof jasmine == 'undefined') { console.log("SPEC IS NOT RUNNING"); var basicAuth = new HttpBasicAuth(function(username, password) { return 'guest' == username & 'password' == password; }); basicAuth.protect(); } else { console.log("SPEC IS RUNNING"); }