M6Web/websocket-bench — pull request #18 by iamchrismiller (2014-02-20 05:48:52+00:00)
Title: Added Gulp Build, JSLint, Mocha Runner, Fixed Multiple Lint Errors

I added a Gulp Build step, which runs a JS Hinting Task which is always good to do and a mocha runner. When running the tests with the Gulp Runner I noticed that it would hang on the baseworker.js test because the sinon stub wasn't executing the callback, after fiddling with it for a bit I decided to "xit" out as it is not returning accurate results. The mocha runner skips past the test as it is not async (change the values and you will notice it doesn't affect the test failure). I would advise some re-writing of that method to separate out the callback methods and test them independently.

I also fixed a lot of the lint errors JSHint was complaining about, strict equal, unused variables, globals, etc...

I also added a Semver bump task (Bumping the version of package.json)

gulp bump-major
gulp bump-minor
gulp bump-minor

Let me know if you have any issues with the implementation changes.

-Chris