Speeding up Javascript Test Time 1000x

*This post originally appeared on Shyp's engineering blog in July 2015. It has since been deleted. It is reproduced as closely as possible here. The original is accessible on the Wayback Machine. Eight months ago when I ran our core API tests at Shyp, it took 100 seconds from starting the test to seeing output [ ]