How to mock a child component property value? #5324
Answered
by
satanTime
jfpicard123
asked this question in
Q&A
-
My child component has dirty (boolean) property. How can I mock that child component and set it to return true (or false) in the dirty property? (just like we would do with services :
|
Beta Was this translation helpful? Give feedback.
Answered by
satanTime
Apr 15, 2023
Replies: 1 comment 1 reply
-
Just figured it out ..
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
Also, you could use
MockInstance
.