aboutsummaryrefslogtreecommitdiffstats
path: root/protractor-jenkins-conf.js
diff options
context:
space:
mode:
authorCaio Cunha2013-10-22 09:41:51 -0400
committerIgor Minar2014-03-18 15:19:26 -0700
commitd6cfcacee101f2738e0a224a3377232ff85f78a4 (patch)
tree4f3237302917e7e12fab43980f528c5007413234 /protractor-jenkins-conf.js
parent299b220f5e05e1d4e26bfd58d0b2fd7329ca76b1 (diff)
downloadangular.js-d6cfcacee101f2738e0a224a3377232ff85f78a4.tar.bz2
feat(ngMock.$httpBackend): added support for function as URL matcher
It's now possible to pass a function to match the URL in $httpBackend mocked expectations. This gives a more sophisticate control over the URL matching without requiring complex RegExp mantainance or the workaround of creating an object with a `test` function in order to mimic RegExp interface. This approach was suggested in [this thread](https://groups.google.com/d/msg/angular/3QsCUEvvxlM/Q4C4ZIqNIuEJ) Closes #4580
Diffstat (limited to 'protractor-jenkins-conf.js')
0 files changed, 0 insertions, 0 deletions