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
The native node:test module has been available since node 18, with improved test runner support since node 21. I believe that from node 22, it even supports both CJS and ESM mocking. Unlike other libraries, it's mocking module and test runner don't use magic, so testing and developing at the same time is less fatiguing. Moreover, as a native module, it will be supported as long as Node is developed.
Would you please consider adding (at least CJS) support for the native node:test module.
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
-
The native node:test module has been available since node 18, with improved test runner support since node 21. I believe that from node 22, it even supports both CJS and ESM mocking. Unlike other libraries, it's mocking module and test runner don't use magic, so testing and developing at the same time is less fatiguing. Moreover, as a native module, it will be supported as long as Node is developed.
Would you please consider adding (at least CJS) support for the native
node:test
module.Beta Was this translation helpful? Give feedback.
All reactions