Angular JS karma filter unknown provider

Posted by itungnt on Saturday, June 18, 2016

I tried to inject the filter to Jasmine for test. But it keeps saying unknown provider

The problem is I need to put to postfix the word Filter

if your filter name is “filterName”

Then in Jasmine you need to inject it with “filterNameFilter”


comments powered by Disqus