UNPKG

bunyan-remote

Version:

Remote logger for node-bunyan that logs to the browser via Bunyan DevTools

38 lines (20 loc) 916 B
describe('bunyan-remote', function () { it.skip('creates a bunyan stream', function () { }); it.skip('rejects a client if the IP does not match `options.allowedIPs` when set', function () { }); it.skip('emits an "info" event to a client upon connection', function () { }); it.skip('recieves an "auth" event from a client when `option.auth` is AUTH_NONE', function () { }); it.skip('recieves an "auth" event with a key from a client when `option.auth` is AUTH_KEY', function () { }); it.skip('recieves an "auth" event with user credentials from a client when `option.auth` is AUTH_USER', function () { }); it.skip('adds the client to the client-array when auth succeeds', function () { }); it.skip('`write` to stream emits "log" event to clients', function () { }); it.skip('removes a client from the client-array when a client disconnects', function () { }); });