Tape implemented support for ECMAScript modules a little while ago so you no longer need my ESM Tape Runner module for most things. However, if you want to unit test experimental ES Module Loaders, it’s still useful.
https://github.com/small-tech/esm-tape-runner
Also, if you want a cute monkey to report your TAP results, see Tap Monkey (https://github.com/small-tech/tap-monkey)
#js #javascript #unitTesting #tape #esm #ECMAScriptModules #ESModuleLoaders #tap
#tap #ESModuleLoaders #ECMAScriptModules #esm #tape #unittesting #javascript #js
CommonJS → ECMAScript Modules (ESM) in Node.js
I hope this post with my experiences from yesterday’s refactor are helpful for you if and when you undertake a similar task.
#javascript #js #nodejs #ECMAScriptModules #esm #CommonJS