unjs / unenv

🕊️ Convert javaScript code to be runtime agnostic
MIT License
340 stars 18 forks source link

chore: run node coverage with native esm #266

Closed pi0 closed 2 weeks ago

pi0 commented 2 weeks ago

jiti was making some false-positives since it allows mixed esm/cjs interops.

Using native mjs, needs additional build step each time but makes tests more reliable.