You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 8, 2021. It is now read-only.
Hey @amcdnl , I'm trying to figure out the best way to unit test a service that uses the @Select decorator provided by ngrx-action. Currently I'm using the TestBed from @angular/core, but I'd like to not have to spin up an angular module in order to test the service.
Is there any way we can "mock out" the @Select decorator to avoid having to start up TestBed to test the interactions with the store?
Hey @amcdnl , I'm trying to figure out the best way to unit test a service that uses the
@Select
decorator provided by ngrx-action. Currently I'm using the TestBed from @angular/core, but I'd like to not have to spin up an angular module in order to test the service.Is there any way we can "mock out" the
@Select
decorator to avoid having to start up TestBed to test the interactions with the store?Here is the service I'm trying to unit test:
Here is the spec testing that service:
The text was updated successfully, but these errors were encountered: