Skip to content

Commit

Permalink
Update projects/ngrx.io/content/guide/signals/signal-store/testing.md
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Deschryver <[email protected]>
  • Loading branch information
rainerhahnekamp and timdeschryver authored Sep 16, 2024
1 parent e9b3753 commit f7082df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ describe('MoviesStore', () => {

It is important to account for the glitch-free effect when using Signals. The `rxMethod` relies on `effect`, which may need to be triggered manually through `TestBed.flushEffects()`.

If the mocked `MovieService` operates synchronously, the following test will fail unless `TestBed.flushEffects()` is called.
If the mocked `MovieService` operates synchronously, the following test fails unless `TestBed.flushEffects()` is called.

<code-example header="movies.store.spec.ts">

Expand Down

0 comments on commit f7082df

Please sign in to comment.