This most likely has nothing to do with RTD, but with phantomjs js engine. But I thought I would at least ask to see if you knew of a work around.
Meteor.user = function(){ return null; }
Meteor.Error = function(error, reason){
return {
error: error,
reason: reason
};
};
expect(Helper.method).toThrow(new Meteor.Error(401, 'must be logged in'));
fails using phantomjs
passes using chrome
I'll assume that this might be due to phantomjs using an older javascript engine. Any thoughts on getting it to pass? I'd prefer not to have any additional browser windows open, but will continue to use chrome for the time being.
This most likely has nothing to do with RTD, but with phantomjs js engine. But I thought I would at least ask to see if you knew of a work around.
fails using phantomjs
passes using chrome
I'll assume that this might be due to phantomjs using an older javascript engine. Any thoughts on getting it to pass? I'd prefer not to have any additional browser windows open, but will continue to use chrome for the time being.