angular-docs-cn/modules/angular2/test
Brian Ford a038bb9ae3 fix(router): preserve specificity for redirects
Previously when comparing which of multiple possible routes to choose in
an ambiguous case, we looked at the specificity of the target of redirect
matches rather than the original match. This meant that if a redirect
used a whilecard, but redirected to a target that was a static path,
we'd cound the static path's specificity instead of the wildcard.

This change stores the specificity of the redirect on the RedirectInstruction.

Closes #5933
2016-01-04 20:06:21 +00:00
..
animate Revert "fix(animate): ensure transition properties are removed once the animation is over" 2015-12-11 13:13:11 -08:00
common feat: camelCase Angular (kebab-case removal) 2015-12-09 19:59:40 -08:00
compiler docs: fix some typos in comments and strings 2015-12-17 22:57:43 +00:00
core feat(core): improve NoAnnotationError message 2015-12-17 23:37:54 +00:00
facade docs: fix some typos in comments and strings 2015-12-17 22:57:43 +00:00
http refactor(http): rename enums to be singular 2015-12-04 19:16:00 +00:00
mock docs: fix some typos in comments and strings 2015-12-17 22:57:43 +00:00
platform feat(core): enable dev mode by default 2015-12-15 08:34:44 -08:00
router fix(router): preserve specificity for redirects 2016-01-04 20:06:21 +00:00
symbol_inspector fix(public_spec): check exports of barrels instead of angular2/angular2 2015-12-11 13:05:52 -08:00
testing refactor(testing): reenable injectAsync checking for return value 2015-12-15 05:51:54 +00:00
upgrade docs: fix some typos in comments and strings 2015-12-17 22:57:43 +00:00
web_workers refactor(testing): move common testing logic into test_injector 2015-12-18 08:23:29 +00:00
dev_mode_spec.ts test: add a test verifying that the tests are run in the checked mode 2015-12-02 11:29:11 -08:00
public_api_spec.ts feat(core): enable dev mode by default 2015-12-15 08:34:44 -08:00