0.1.0 • Published 9 years ago
jsnark v0.1.0
node-jsnark
Run Benchmark.js tests from js files.
Install
> npm install -g jsnark
Usage
> jsnark [--async] <file> ...
Flags: --async: run tests asyncronously (default) --no-async: run tests synchronously
Example:
> jsnark test-file-1.js test-file-2.js
Example test file
var STR = "Hello World!";
module.exports = {
'RegExp#test': function() {
/o/.test(STR);
},
'String#indexOf': function() {
STR.indexOf('o') > -1;
}
};
0.1.0
9 years ago