An Ode to Node: Testing Frontend the Backend Way
Testing Frontend code is painful. You can either do small unit tests that don't check a lot, or you have to use automation tools to test your code in a living browser. There is a third alternative, which can be a very natural way to test your code - run your frontend code under Node! The benefits are enormous - simple debugging, no need for transpiling and bundling, and no need to raise a server to run the tests.