apeman-service-api
Version:
Apeman service for API access.
26 lines (20 loc) • 469 B
JavaScript
/**
* Test case for index.
* Runs with mocha.
*/
const index = require('../lib/index')
const assert = require('assert')
const co = require('co')
describe('index', () => {
before(() => co(function * () {
}))
after(() => co(function * () {
}))
it('index', () => co(function * () {
for (let name of Object.keys(index)) {
assert.ok(index[ name ], `${name} should be defined`)
}
}))
})
/* global describe, before, after, it */