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