This fixes #20 by adding a few basic model and component tests. All it's testing right now for components is that they render. We can add more functionality tests later, e.g., when you click a button a thing happens, this is just a start.
This adds a new npm script so that npm test can be run to run JavaScript tests as well as the JavaScript style checker. We can make use of this in #17 on Travis.
This fixes #20 by adding a few basic model and component tests. All it's testing right now for components is that they render. We can add more functionality tests later, e.g., when you click a button a thing happens, this is just a start.
This adds a new npm script so that
npm test
can be run to run JavaScript tests as well as the JavaScript style checker. We can make use of this in #17 on Travis.