face-recognition.js/public_html/js/tracking.js/test/Benchmark.js

15 lines
326 B
JavaScript
Raw Normal View History

var Benchmark = require('./utils/benchmark.js');
module.exports = {
setUp: function(done) {
Benchmark.setUpAll(done);
},
testBenchmark: function(test) {
Benchmark.runAll(function(results) {
test.ok(results.passed, Benchmark.createFailureMessage(results.resultDetails));
test.done();
});
}
};