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 wan't to get testdouble working on Node.js v20.0.0
Node.js v20.0.0 introduces a segregation of loader code and production code
In the changelog, they call it "Loader hooks are executed off the main thread" (https://nodejs.org/api/esm.html#modules-ecmascript-modules)
With this segregation, it is only possible to communicate via a messagePort with the loader. But this only allows to send copied values, no shared objects or modules.
Is there a way to run testdouble.js with Node v20.0.0?
Environment
node -v output: v20.0.0
npm -v (or yarn --version) output: npm 9.6.4
npm ls testdouble (or yarn list testdouble) version: testdouble@3.17.2
Description
Issue
I wan't to get testdouble working on Node.js v20.0.0
Node.js v20.0.0 introduces a segregation of loader code and production code
In the changelog, they call it "Loader hooks are executed off the main thread" (https://nodejs.org/api/esm.html#modules-ecmascript-modules)
With this segregation, it is only possible to communicate via a messagePort with the loader. But this only allows to send copied values, no shared objects or modules.
Is there a way to run testdouble.js with Node v20.0.0?
Environment
node -v
output: v20.0.0npm -v
(oryarn --version
) output: npm 9.6.4npm ls testdouble
(oryarn list testdouble
) version: testdouble@3.17.2Failing Test
Example Repo
The text was updated successfully, but these errors were encountered: