sg-socket-constants
Version:
Constants variables for socket
28 lines (20 loc) • 497 B
JavaScript
/**
* Test case for pubsubEvents.
* Runs with mocha.
*/
const PubsubEvents = require('../lib/pubsub_events.js')
const assert = require('assert')
const co = require('co')
describe('pubsub-events', () => {
before(() => co(function * () {
}))
after(() => co(function * () {
}))
it('Pubsub events', () => co(function * () {
for (let name of Object.keys(PubsubEvents)) {
assert.ok(PubsubEvents[ name ])
}
}))
})
/* global describe, before, after, it */