Posts by Allisson Filipe • 26 points
2 posts
-
0
votes1
answer33
viewsA: Provider to intercept click buttons
You could use Rxjs' debaucherTime to determine that your action would be executed after a certain time: https://www.learnrxjs.io/learn-rxjs/operators/filtering/debouncetime…
-
1
votes1
answer75
viewsA: Unit Test Rxjs + Ngrx Subscription in Angular with Karma
you could do it that way: 1- inside the test suite, you would create a property for the store that contains a Spy for the pipe: const storeMock = jasmine.createSpyObj(['pipe']); 2- create a mock…