Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.on('complete', function done () {
console.log('\n Done!')
var result = benchmarks.getPercent('current')
benchmarks.log()
if (result < 90)
assert.fail('' + result + '%', '90%`', null, '>=', done)
})
.run({ 'async': false })
.on('complete', function done () {
console.log('\n Done!')
var result = benchmarks.getPercent('current')
benchmarks.log()
if (result < 95)
assert.fail('' + result + '%', '95%`', null, '>=', done)
})
.run({ 'async': false })
.on('complete', function done() {
benchmarks.log();
})
.run({ 'async': false });
.on('complete', function done() {
benchmarks.log();
})
.run({ 'async': false });
.on('complete', function done() {
benchmarks.log();
})
.run({ 'async': false });
}).on('complete', function onComplete() {
benchmarks.log();
}).run();
}).on('complete', function onComplete() {
benchmarks.log();
}).run();
}).on('complete', function onComplete() {
benchmarks.log();
}).run();
}).on('complete', function onComplete() {
benchmarks.log();
}).run();
}).on('complete', function onComplete() {
benchmarks.log();
}).run();