What settings are required to get Mobx decorators working? #4075
charliematters
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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