4 ms·
A few jobs ago we had an offline-first webapp. The offline support was so hard to avoid breaking that we ended up writing a proxy server for the test suite so w
by danielheath 4y ago
A few jobs ago we had an offline-first webapp. The offline support was so hard to avoid breaking that we ended up writing a proxy server for the test suite so we could make assertions about what the browser would do when it couldn't reach the site.
- klysm 4y agoWhat’s the proxy do? Just cut off the connection?
- danielheath 4y agoIn practice, yeah - we could have also simulated slow / unstable connections but never found those features needed the same level of automated testing.