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

CI jshint and tests #7

Open
jacobrosenthal opened this issue Apr 24, 2017 · 1 comment
Open

CI jshint and tests #7

jacobrosenthal opened this issue Apr 24, 2017 · 1 comment
Assignees

Comments

@jacobrosenthal
Copy link
Owner

No description provided.

@jacobrosenthal
Copy link
Owner Author

npm i --save-dev jshint

add pretest to scripts

  "scripts": {
    "pretest": "jshint *.js lib/. test/.",
    "test": "mocha --include test/*.js test/*.js --reporter spec"
  },

commit that and then make
npm run test
pass in a seperate commit

then ill enable Continuous integration to run npm run test every time someone makes a commit and we can catch formatting style and errors

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

2 participants