ng-mocks icon indicating copy to clipboard operation
ng-mocks copied to clipboard

Feature Request: Documentation for functional route guards without the use of NgModule

Open craiggoldstone opened this issue 5 months ago • 0 comments

Describe the feature or problem you'd like to solve

Provide an example in the documentation for how to test functional route guards without using NgModule

Proposed solution

People who don't use NgModule anymore will be able to understand how to use ng-mocks more easily

Additional context

The existing documentation is great, but does make use of NgModule. . It would be great to see the example of how to setup ng-mocks using the provideRouter and bootstrapApplication() instead of RouterModule.forRoot() and any NgModules

craiggoldstone avatar Jan 18 '24 16:01 craiggoldstone