https://github.com/velesin/jasmine-jquery offers that one may use this trick to see if an element has a class or not:
expect($('#foo')).not.toHaveClass('hide');
No comments:
Post a Comment