It's quite easy to run tests against a real HTML file loading DOM code from your terminal with Node.
Read more about how this works over on my blog
- Make sure you have Git and Node 18 installed
- Clone this repo
cd
into the directorynpm install
the dependenciesnpm test
to run the test