uriel
Version:
A NodeJS statsd agent to push memory, cpu, network, swap, diskio, and disk usage over UDP
32 lines (24 loc) • 969 B
JavaScript
// test/_libs.js
// Dependancies
const config = require('../config/config');
const libTest = { logger: null, monitor: null, statsFactory: null };
describe('Library Tests', () => {
before(() => {
// Do all necessary things here
});
after(() => {
// Do all necessary things here
});
// ========================================================================
// Logger Wrapper
// ========================================================================
require('./libs/logger')(config, libTest);
// ========================================================================
// StatsFactory
// ========================================================================
require('./libs/statsFactory')(config, libTest);
// ========================================================================
// Monitor
// ========================================================================
require('./libs/monitor')(config, libTest);
});