Set implementation in JavaScript
var data = new Set();
data.add('item');
You can include the module from GitHub directly by adding the following to your package.json
and then doing npm install
"dependencies": {
"set-js": "https://github.com/BoyCook/SetJS/tarball/master"
}
Displaying results in the terminal (common usage):
make test
Running all the tests (calls test-ci and test-cov - best used by CI server):
make test-all
Produce xUnit style XML report file:
make test-ci
Running the tests with coverage and producing HTML Mocha coverage report file:
make test-cov