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

Infra: Run the first test #10

Closed
5 tasks done
EthanLin-TWer opened this issue Mar 18, 2017 · 0 comments
Closed
5 tasks done

Infra: Run the first test #10

EthanLin-TWer opened this issue Mar 18, 2017 · 0 comments

Comments

@EthanLin-TWer
Copy link
Owner

EthanLin-TWer commented Mar 18, 2017

  • yad babel-register for mocha to compile es6 tests
  • create test directory and a sample test file
  • import { expect } from 'chai'
  • import { describe, it } from 'mocha'
  • add npm test script: "test": "mocha test/ --recursive --compilers js:babel-core/register"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant