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
OK, but that's a quite functionality loss @mxschmitt. If I want a small test component, that needs to wrap tested component because it needs to provide data the tested component is injecting (provide/inject), then I need to put that in a separate file:
I am polluting my source code with small wrapper components only used in tests
I can not reuse this wrapper component in other tests, as it is not possible to provide a custom component as a slot [Feature] Component as slot #15900 (comment), so I need to hardcode wrapped component in it
This seems like a common use case to me. For example in React you can imagine Providers being there for tests, so that component can be tested properly.
Please do not submit this issue.
The text was updated successfully, but these errors were encountered: