cheshire137 / overwatch-team-comps

Plan your Overwatch team composition per map. Share your team comp with others.
MIT License
12 stars 2 forks source link

Set up JavaScript test framework #103

Closed cheshire137 closed 7 years ago

cheshire137 commented 7 years ago

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.