In AngularJs I have set a variable in the session object with the following code:
Session.setState({
studentType: 1
};
In order to test a method in Jasmine I need to pass the a Session object to that method. How can a create a mock session variable?
Aucun commentaire:
Enregistrer un commentaire