Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Add JS testing framework #33

Closed
kfitzpatrick opened this issue Sep 7, 2016 · 2 comments
Closed

Chore: Add JS testing framework #33

kfitzpatrick opened this issue Sep 7, 2016 · 2 comments
Assignees
Projects

Comments

@kfitzpatrick
Copy link
Contributor

kfitzpatrick commented Sep 7, 2016

No description provided.

@wfro
Copy link

wfro commented Sep 7, 2016

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

@nhaugo
Copy link
Contributor

nhaugo commented Sep 13, 2016

• Use whatever create react app uses
• Does it do sass out of the box?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

5 participants