Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d67e999

Browse files
feat(ngMock): add expectRoute and whenRoute shortcuts with colon param matching
Add `params` argument to the `when()` and `expect()` functions to give map regex groups to keys on a new `params` argument of the `respond()` callback. Add `whenRoute` and `expectRoute` methods to `$httpBackend` to support matching URLs by patterns similar to those defined for `ngRoute`. Closes #12406
1 parent a8e03b3 commit d67e999

File tree

2 files changed

+319
-22
lines changed

2 files changed

+319
-22
lines changed

0 commit comments

Comments
 (0)