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'm trying to get our existing Mobx-enabled codebase, but I can't get the decorators working in our domain objects.
I've made a repo with a simple example of how our current domain objects work, and a simple test case which currently fails when using swc-jest but passes with ts-jest.
I'd love to get the speed of swc, but currently running Object.keys(this) in the class constructor doesn't return any of the decorated fields. I've tried switching all the decorator configuration options, but none of them get test passes
This discussion was converted from issue #1158 on March 18, 2022 08:10.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to get our existing Mobx-enabled codebase, but I can't get the decorators working in our domain objects.
I've made a repo with a simple example of how our current domain objects work, and a simple test case which currently fails when using
swc-jest
but passes withts-jest
.I'd love to get the speed of swc, but currently running
Object.keys(this)
in the class constructor doesn't return any of the decorated fields. I've tried switching all thedecorator
configuration options, but none of them get test passeshttps://github.com/charliematters/swc-issue/blob/main/.swcrc
Beta Was this translation helpful? Give feedback.
All reactions