Refactor socket.io controller
This commit is contained in:
parent
107155a661
commit
0118a6fb15
10 changed files with 480 additions and 253 deletions
|
|
@ -6,6 +6,10 @@ var fs = require('fs');
|
|||
var path = require('path');
|
||||
|
||||
describe('JSONFileMetricsReporter', function () {
|
||||
before(() => {
|
||||
Metrics.clearReportHooks();
|
||||
});
|
||||
|
||||
describe('#report', function () {
|
||||
it('reports metrics to file', function (done) {
|
||||
const outfile = path.resolve(os.tmpdir(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue