I wrote a unit test for an ES module in html-react-parser in my 2021-02-06 livestream: Links: GitHub pull request (PR) How to run ES Modules with Node.js