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