Detect errors from effects #8009
Unanswered
fuzzykiller
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a component test that has an insufficiently mocked dependency (my fault). It's the classic "it should create" test, consisting of
MockBuilder
+MockRender
. It succeeds. However, it also spits out an error:The component has an Angular Signals effect in its constructor. It fails because the signal it is supposed to act on is not present on the mock store. How would I detect this error and make the test fail?
Beta Was this translation helpful? Give feedback.
All reactions