What would be a proper way to test signal based output event emitters? #442
-
I dont know how to test output signal based outputs on angular, i find the documentation for input based on signals but not for output, there is a proper way to do this now? thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
timdeschryver
Apr 26, 2024
Replies: 1 comment 2 replies
-
See #443 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is (sadly) the intended behavior.
The reason of this difference is that we used Angular's
setInput
method to set the input value, this method takes the alias into account.For
Output
properties this doesn't exist, and we simply update the property within the component.If there's a way to also use the Output alias, I would be happy to update it on our side.