JSDOM *is* better than what I was doing in-browser. But it still has issues with stuff like fetch/Request/etc. These aren't implemented. `new Request()` just bombs
I can hack these into JSDom's global state. It’s not great. This feels like writing tests of code never designed to be tested and also without a test framework.
I haven't even tried to use shadow DOM yet. I'm just trying to intercept a fetch() call.
https://ruby.social/@davetron5000/113347924747596570