angular-docs-cn/modules/angular2/test/router/integration
Victor Berchet 5e2bc5c593 fix(RouterLink): ignore optional parameters when checking for active routes
fixes #6459
Closes #7834
2016-04-07 19:41:14 +00:00
..
impl chore: fix DDC errors / warnings 2016-03-08 22:17:32 +00:00
README.md refactor(router): improve recognition and generation pipeline 2015-11-30 17:06:03 +00:00
async_route_spec.ts chore(test): migrate Dart tests to package:test 2016-03-04 02:27:44 +00:00
auxiliary_route_spec.ts chore(test): migrate Dart tests to package:test 2016-03-04 02:27:44 +00:00
bootstrap_spec.ts chore(core): remove @View annotation 2016-03-14 23:26:20 +00:00
lifecycle_hook_spec.ts chore(core): remove @View annotation 2016-03-14 23:26:20 +00:00
navigation_spec.ts chore(core): remove @View annotation 2016-03-14 23:26:20 +00:00
redirect_route_spec.ts feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
router_link_spec.ts fix(RouterLink): ignore optional parameters when checking for active routes 2016-04-07 19:41:14 +00:00
sync_route_spec.ts chore(test): migrate Dart tests to package:test 2016-03-04 02:27:44 +00:00
util.ts chore(core): remove @View annotation 2016-03-14 23:26:20 +00:00

README.md

Router integration tests

These tests only mock out Location, and otherwise use all the real parts of routing to ensure that various routing scenarios work as expected.

The Component Router in Angular 2 exposes only a handful of different options, but because they can be combined and nested in so many ways, it's difficult to rigorously test all the cases.

The address this problem, we introduce describeRouter, describeWith, and describeWithout.