File Factor

Our test harness’s client and server code are all in the same file. This is convenient, but confusing. The client code runs in browsers and the server code runs in Node, so the file has to work in both. In this episode, we split the harness into multiple files and take care of some final cleanup. With that, the chapter is finished.

comments powered by Disqus