Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(router): Update golden test to be standalone
This update demonstrates a powerful difference between the current `RouterModule.forRoot(...)` and the new `provideRouter` function: tree-shakability. The new opt-in API of the `provideRouter` function for features rather than using `ExtraOptions` to control the providers via a switch enables this. In truth, we could extend this ability to the `RouterModule` as well with something like `forRootWithFeatures` or by updating the existing `forRoot` to include the feature array.
- Loading branch information