tape-testing / tape

tap-producing test harness for node and browsers
MIT License
5.77k stars 307 forks source link

doc: remove link to ES6 support runners #568

Open gthb opened 2 years ago

gthb commented 2 years ago

Now that tape itself supports ES6, there is no need for “ES6 support with https://www.npmjs.com/package/babel-tape-runner or https://www.npmjs.com/package/buble-tape-runner” anymore, so this item becomes misleading (suggests to the newcomer that tape still doesn't support ES6).

Unless I'm wrong and there is still some reason to use them? If so, maybe specify that reason.

ljharb commented 2 years ago

tape supports ES Modules via --require, and matches node's ESM support. However, babel-tape-runner and alternatives are still necessary, because every project, forever, should be transpiling to be able to use newer features and not have to pay attention to what features your node version supports.

I agree the caption could be reworded to explain this better.