1. React
  2. ReactNext
  3. 2016
  4. An Ode to Node: Testing Frontend the Backend Way

An Ode to Node: Testing Frontend the Backend Way

Gil Tayar at ReactNext 2016

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.