'sup all!

I'm having trouble testing with *$httpBackend.expect* API (docs 
<https://docs.angularjs.org/api/ngMock/service/$httpBackend#expect>). 
Specifically with query string params in the URL breaking the match against 
the *url* argument. (similar post 
<https://groups.google.com/forum/#!topic/angular/3QsCUEvvxlM> w/ feedback 
from @vojta)

The types allowed are *String*, *RegExp*, and *Function*. The first two 
work fine, but I'm not really grokking the function argument case: plunkr 
<http://plnkr.co/edit/QxHtpCOvozwYOZVneJKf?p=preview>

I'd really like to use a function here. Help appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to