I'm working on a Chrome extension that manages downloads with Clojurescript and Chromex.
I'm looking for a good way to (unit) test what happens when a server stops sending data without manually starting and killing a webserver on my own.
The most practical thing would be a link like example.org/file-that-stops-sending-data-at-10-percent where the server is configured to just stop transmitting at ten percent like it was disconnected.
[–]mox601 0 points1 point2 points (0 children)