I just wrote a library to help developers write DOM tests; specifically DOM assertions.  It allows you to express expected HTML (DOM structure) using React’s JSX.  All the details are in the readme.  The library is called html-normalizer and is available on npm and github. Here’s the link.  https://github.com/TimothyRHuertas/normalizer

 

Happy testing