I have a custom filter I created. per this post I created the following in my Jasmine...
beforeEach(module("workOrderManagerApp"));
var mockSearchFilter = function(text, tails, fillTailList) {
return null;
};
beforeEach(function() {
module(function($provide) {
$provide.value('searchItems', mockSearchFilter);
});
});
But when I run this it still runs the non-mock filter. What am I missing here?