I had another pass at this. It is now flagged as an esm module in the package.json and I got the tests working. It took a little bit of work as I was not familiar with AVA.
I also added the standard prettier config file and ran it. I hope this is useful and should help keep the code consistent going forward.
I had another pass at this. It is now flagged as an esm module in the package.json and I got the tests working. It took a little bit of work as I was not familiar with AVA.
I also added the standard prettier config file and ran it. I hope this is useful and should help keep the code consistent going forward.