At the moment I don’t have any unit tests running for my Hugo sites, and I used that more as an example of what is possible. I trust the build itself enough that I don’t see the need for checks concerning the content, although you’re probably correct that it might be useful for static files.
But I don’t have that yet. Probably once I put more than just some basic Javascript in there I will want to test that, but my next step for these sites is probably going to be setting up a build pipeline for the assets. Maybe using Gulp as I haven’t used that before. That will be fairly simple stuff though, parsing and minifying javascript and css/sass files as well as some thumbnail generating for images. Now that I’ve got the basic stuff out of the way for them it’s time to play with the sites a bit more :).