chronograf
chronograf copied to clipboard
Chore: Add JS testing framework
It might make sense to do this along with #28. All of the setup exists in EnterpriseWeb https://github.com/influxdata/enterprise/tree/master/ui/spec.
We used:
- Mocha as a general test framework
- chai (and sinon-chai) for assertions
- sinon for http mocking and spies/stubs/mocks
- karma as a test runner that supports multiple browsers
- webpack-dev-server for in-browser tests
• Use whatever create react app uses • Does it do sass out of the box?