Closed scottdotweb closed 2 years ago
I've updated the README to reflect this only works with AVA 3.
I think using @babel/register
is probably the way to go. I'll open an issue on AVA relating to the documentation there.
The problem has been the lack of contributions to this package, combined with improved ESM support in AVA 4 that the current version cannot make use of.
Thanks @novemberborn. I did actually originally create this as an issue there, so I'll reopen it for your comments.
The documentation tells you to enable Babel support like this:
But it's out of date, that causes AVA 4 to exit with the error "Built-in Babel support has been removed."
What do we need to do? I tried this Babel configuration, but it didn't seem to help.
My AVA config is simply: