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
I have two standalone components, Test1Component and Test2Component. Test1Component dynamically imports Test2Component import(Test2Component).then(.... Is there a way to get a mocked version of Test2Component?
as the docs says, this mocks only the imports and thats working as expected, but how can I mock the component itself and ignore its imports? This also does not work and also seem to just mock the imports but everytime, my implementation is called (tested it with a console.log):
Discussed in #4693
Originally posted by AE1NS January 13, 2023
Hey,
I have two standalone components, Test1Component and Test2Component. Test1Component dynamically imports Test2Component
import(Test2Component).then(...
. Is there a way to get a mocked version of Test2Component?as the docs says, this mocks only the imports and thats working as expected, but how can I mock the component itself and ignore its imports? This also does not work and also seem to just mock the imports but everytime, my implementation is called (tested it with a console.log):
The text was updated successfully, but these errors were encountered: