spectator icon indicating copy to clipboard operation
spectator copied to clipboard

Adding routeConfig in ActivatedRouteStub

Open AbdealiLoKo opened this issue 2 years ago • 0 comments

Description

I have a component where we use routeConfig - https://angular.io/api/router/ActivatedRouteSnapshot#routeConfig I couldn't find a way to stub this value

Proposed solution

It would be great if we can provide the "test" value for this also and that could be used by the Stub mechanism

Alternatives considered

I am currently using a custom value I created in such cases as the stub

Do you want to create a pull request?

No

AbdealiLoKo avatar Jun 01 '22 11:06 AbdealiLoKo