Posted 29 October 2018, 5:49 pm EST
Hi,
Framework: AngularJS
I’m using global chaining filter for one of my project, i received the following fiddle from one of the Wijmo Developer (Sharad).
AngularJs: http://jsfiddle.net/gj603fme/
This fiddle works like charm, but when i wanted to unit test that global filtering logic, i noticed,
initialized="initFilter(s)"
is not getting called from my unit test. Or in other words, when i run the unit test, i don’t see
initFilter function being called.The same
initFilter is getting called when it’s in the browser.I debugged the code on browser and noted
initialized call back comes from setTimeout, i tried $timeout.flush(); still not getting called.
Need some help me on this.
