-
Notifications
You must be signed in to change notification settings - Fork 142
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
Suite test:esm fails under Node 21 #530
Comments
@giltayar Would really appreciate some of your node ESM loader magic here. Wish I had more background context to knock this one out myself. |
Do you support v21 for ESM? I'm having some weird issues with replaceESM. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Mocking ESM works under Node 20 but not under Node 21
Issue
ES Module mocking does not appear to be working under Node 21.
Environment
node -v
output: Working under v20.5.0, failing under 21.0.0, failing under v21.6.1npm -v
(oryarn --version
) output: 9.8.0 under v20.x, 10.2.4 under v21.xnpm ls testdouble
(oryarn list testdouble
) version: 3.20.2Failing Test
8 out of 11 tests in the
test:esm
suite are failing under Node 21 but pass under Node 20The text was updated successfully, but these errors were encountered: