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 <28659384+timdeschryver@users.noreply.github.com>
  • Loading branch information
rainerhahnekamp and timdeschryver authored Sep 16, 2024
1 parent 030f861 commit e9b3753
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The SignalStore is a function that returns a class, allowing tests to instantiat

However, in practice, `TestBed` is typically used due to its numerous advantages, such as the ability to mock dependencies and trigger the execution of effects.

Additionally, key features of the SignalStore will not function properly if they do not run in an injection context. Examples include the `rxMethod`, the use of `inject` within `withMethods()`, and `withHooks()`.
Additionally, key features of the SignalStore do not function properly if they do not run in an injection context. Examples include `rxMethod`, the use of `inject` within `withMethods()`, and `withHooks()`.

<div class="alert is-helpful">

Expand Down

0 comments on commit e9b3753

Please sign in to comment.