diff --git a/benchmark/async.bench.js b/benchmark/async.bench.js index 328821b3d..010699daa 100644 --- a/benchmark/async.bench.js +++ b/benchmark/async.bench.js @@ -1,7 +1,7 @@ 'use strict' var Hemera = require('../'), - nsc = require('./../test/support/nats_server_control'), + nsc = require('hemera-testsuite'), Code = require('code'), Async = require("async"); @@ -22,11 +22,11 @@ var server = nsc.start_server(PORT, flags, () => { }, (resp, cb) => { setTimeout(() => { - + cb(null, { result: resp.a + resp.b }); - + }, 1000) }); @@ -69,4 +69,4 @@ var server = nsc.start_server(PORT, flags, () => { }); -}); \ No newline at end of file +});