-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using @swc-node/register
with Mocha leads to errors
#762
Comments
LGTM. I would test later with more cases |
yeliex
added a commit
to yeliex/swc-node
that referenced
this issue
Apr 8, 2024
yeliex
added a commit
to yeliex/swc-node
that referenced
this issue
Apr 8, 2024
Brooooooklyn
pushed a commit
that referenced
this issue
Apr 9, 2024
yeliex
added a commit
to yeliex/swc-node
that referenced
this issue
Apr 10, 2024
…wc-project#762 (swc-project#766) * fix(register): fix esm entry resolver for third-party executor, close swc-project#762 * Create great-goats-trade.md * fix: bug fix
I tried adopting the fix released in version
@yeliex Could we maybe reopen this issue? Or is it better if I report a separate new one? |
I opened a separate issue for the problem described above. |
@martinslota see #781 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When Mocha is used to run test files written in Typescript along with
--import=@swc-node/register/esm-register
, the following kind of error gets thrown:A specific reproduce along with a hacky fix can be found in this repository.
I'm not entirely sure what a proper fix would look like but I'd be happy to help with implementing it.
The text was updated successfully, but these errors were encountered: