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 am trying to use @swc/jest to speed up my tests on my lit+typescript+jest setup. When using the swc/jest as the test runner the willUpdate method is not getting executed. From what I see/find the call stack is different when using ts-jest & it works fine, but on using swc/jest the callstack is missing the _callSuper().
I am attaching a simple repository that can reproduce the issue. Btw here's some screenshots that shows the above, if it is helpful
swc
ts-jest
Expected behavior
swc/jest should not break existing tests & should call lit component lifecycle's willUpdate() method
Actual behavior
willUpdate() method is not getting executed.
Additional context
Not sure if this issue is specific to jest or lit or swc , I have filed the same issue on other repositories as well
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
Version
29.7.0
Steps to reproduce
I am trying to use @swc/jest to speed up my tests on my
lit+typescript+jest
setup. When using theswc/jest
as the test runner thewillUpdate
method is not getting executed. From what I see/find the call stack is different when usingts-jest
& it works fine, but on usingswc/jest
the callstack is missing the_callSuper()
.I am attaching a simple repository that can reproduce the issue. Btw here's some screenshots that shows the above, if it is helpful
swc
ts-jest
Expected behavior
swc/jest should not break existing tests & should call lit component lifecycle's willUpdate() method
Actual behavior
willUpdate()
method is not getting executed.Additional context
Not sure if this issue is specific to
jest
orlit
orswc
, I have filed the same issue on other repositories as wellLit + Jest + Typescript + SWC Jest lit/lit#4580
Lit + Jest + Typescript + SWC Jest swc-project/swc#8734
Environment
The text was updated successfully, but these errors were encountered: