ui-select
Version:
16 lines (15 loc) • 402 B
JavaScript
beforeEach(function() {
jasmine.addMatchers({
toHaveClass: function(util, customEqualityTesters) {
return {
compare: function(actual, cls) {
var pass = actual.hasClass(cls);
return {
pass: pass,
message: "Expected '" + actual + "'" + (pass ? ' not ' : ' ') + "to have class '" + cls + "'."
};
}
};
}
});
});