JSDOM is pretty amazing. All my project's HTML examples are now running unmodified as part of my test suite.
Next step: using Markscript (npmjs.com/package/marksc…) to test all the code that's embedded in my documentation.
https://twitter.com/dubroy/status/586808584027168768 ∙ Archived on 2025-03-28.