testdouble / teenytest

A very simple, zero-config test runner for Node.js
MIT License
96 stars 14 forks source link

Leverage @std/esm to avoid babel #34

Open jasonkarns opened 6 years ago

jasonkarns commented 6 years ago

Possible way to avoid babel: https://twitter.com/jdalton/status/952008475244052481

jdalton commented 6 years ago

It shipped :tada:

pingortle commented 5 years ago

I just tried a small test suite with NODE_OPTIONS="-r esm" teenytest ... and requireing ES modules indeed Just Worked™. Very nice!

Should we add this as a tip in the README while we ruminate on a more integrated solution in the future?