You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, in the component integration test, this.subject() returns an error and there is no other way provided to allow anyone to access the component instance.
This does not allow for many types of tests, like checking the value of a computed property after clicking on a button.
The text was updated successfully, but these errors were encountered:
Component Unit tests are still possible if you want to check properties on your components. However, I bet you'll still end up with a better test if you use the integration style.
If the value of that component is completely internal then it should not be tested. If the value of that component has some side effect, then that side effect should be tested. In this case, I bet there is some side effect when you click that button and the CP is just an internal detail.
For some reason, in the component integration test, this.subject() returns an error and there is no other way provided to allow anyone to access the component instance.
This does not allow for many types of tests, like checking the value of a computed property after clicking on a button.
The text was updated successfully, but these errors were encountered: