Allow use of components within Wrapper for unit tests #7476
Labels
area/typescript
area/unit-test
Issues involving need, configuration or changes of unit test
kind/tech-debt
Technical debt
QA/None
Milestone
Description
Change configuration to avoid manual cast of
Wrapper<YourComponent>
to accesswrapper.vm
.Context
Currently if a developer needs to access to a
wrapper.vm
to getcomputed
ordata
values or other component properties, it's necessary cast manually the component type to it. This however also causes issues on build and we are forced to use the following code:This may require the use of a custom tsconfig as defined in the docs.
The text was updated successfully, but these errors were encountered: